How do I set ANDROID_SDK_HOME environment variable?

ANDROID_HOME Installation directory of Android SDK package. Example: C:\AndroidSDK or /usr/local/android-sdk/ ANDROID_USER_HOME Location of SDK related data/user files. Example: C:\Users\<USERNAME>\.android\ or ~/.android/ ANDROID_SDK_ROOT Deprecated (in Android Studio), use ANDROID_HOME instead. ANDROID_NDK_ROOT Installation directory of Android NDK package. (WITHOUT ANY SPACE) Example: C:\AndroidNDK or /usr/local/android-ndk/ ANDROID_SDK_HOME Deprecated (in Android Studio 4.2), use ANDROID_PREFS_ROOT instead. ANDROID_PREFS_ROOT Deprecated … Read more

Gson NoClassDefFoundError after ADT and SDK Tools update to v17

I faced a similar problem today. This fixed it for me: Remove all Android Library projects and external jars from the build path. Create a folder named ‘libs’ in your project. Place all external .jars in that folder, the ADT should now place them under ‘Android Dependencies’. Re-import all your previous Android Library projects the … Read more

Uninstalling Android ADT

The only way to remove the ADT plugin from Eclipse is to go to Help > About Eclipse/About ADT > Installation Details. Select a plug-in you want to uninstall, then click Uninstall… button at the bottom. If you cannot remove ADT from this location, then your best option is probably to start fresh with a … Read more

ADT will not allow creation of Android Activity

If you updated to Android SDK Tools version 22.6, you are required to Update DDMS Tools and Plugins. Go to “Help Menu Bar” -> “Install New software” and install (this will update it) url: https://dl-ssl.google.com/android/eclipse/ Also update “Developer Tools” and “NDK Plugins” to latest Version. This steps is useful for me and worked also.