Eclipse – “ERROR/AndroidRuntime(…): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{…}: java.lang.ClassNotFoundException:…”

Verify that in your Manifest file there is activity tag like this

<activity android:name=“.classname”>

and that classname is the name of class that

extends Activity

Did my solution solve your problem?

Eclipse – “invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe”

After Android SDK update, when you try to launch the Emulator from Eclipse show this error message:
[… – Emulator] invalid command-line parameter: FilesAndroidandroid-sdktools/emulator-arm.exe.
[… – Emulator] Hint: use ‘@foo’ to launch a virtual device named ‘foo’.
[… – Emulator] please use -help for more information


In Eclipse go to menu Window -> Preferences -> Android
Change SDK Location
C:\Program Files\Android\android-sdk
then click Apply and OK.

Like ahmed said in his comment:
“You have do change the path to the Android SDK to have it without spaces at all.” 😉

Alternative Solution: by Brandon Peters (@cisox):
Create a symlink between the android-sdk folder in C:\Program Files (x86) and C:\AndroidSDK:

Start Command Prompt Window (Start -> Run -> cmd) and execute the following command:

mklink /D C:AndroidSDK “C:\Program Files (x86)\Android\android-sdk”

Did my solution solve your problem?