Eclipse Errors After Android Sdk Change
Solution 1:
You need to open up Eclipse > Preferences. Then go into the Android top-level node. You can set your new SDK Location:
there. That should fix your issue, provided you installed the right SDK levels that your projects are depending on.
Solution 2:
Do you have libs in your project? if so, then create "libs
" folder in your project, move all your libraries to that folder and refresh build pathes
Solution 3:
I just fixed it, here's what I did.
- Go to Window -> Preferences and then Android. Check to make sure your SDK location is set to C:\Program Files\Android\android-sdk
- If your new SDK location doesn't have all SDKs you previously installed, use the SDK manager to reinstall them
- Exit eclipse and then manually navigate to your workspace and remove any projects you recently added
- Open eclipse and Fix Project Properties if necessary
Solution 4:
This problem can have various origins and can almost certainly be resolved by creating a new Eclipse workspace. You'll lose all you preferences and will need to reinstall any add-ons.
In my case the root of the problem was my JDK version. Eclipse had evidently located my JDK 7 installation and had set it to default. Simply changing the preference back to JDK 6 and restarting Eclipse resolved it.
Post a Comment for "Eclipse Errors After Android Sdk Change"