Hello folks,
some days ago i got a new Smartphone. Its an Samsung Galaxy S2 with Android 2.3.3. So i wanted to program my first own Android Application.
I followed a German Guide about Android-Programming.
But when had i finished my HelloWorld App and wanted to Compile it, the first unexcepted error appears.
The Error was the following:
[2011-09-10 20:19:36 - HelloWorld] The connection to adb is down, and a severe error has occured.
[2011-09-10 20:19:36 - HelloWorld] You must restart adb and Eclipse.
[2011-09-10 20:19:36 - HelloWorld] Please ensure that adb is correctly located at 'C:Program Files (x86)Androidandroid-sdkplatform-toolsadb.exe' and can be executed.
Soon i found out that the Path of SDK Location(Preferences -> Android -> SDK Location) was the cause. My SDK Path was the following:
C:Program Files (x86)Androidandroid-sdk
So what is wrong? The Spaces in the Path are the problems. To get it work, you must change “Program Files (x86)” to “Progra~2″
The complete right path is “C:Progra~2Androidandroid-sdk”.
Now it should work and you can compile your first Android Application
Schreibe einen Kommentar