{"id":42,"date":"2011-09-10T19:01:20","date_gmt":"2011-09-10T17:01:20","guid":{"rendered":"http:\/\/pustekuchen.xn--burkfrulein-q8a.de\/?p=42"},"modified":"2011-09-10T19:01:20","modified_gmt":"2011-09-10T17:01:20","slug":"please-ensure-that-adb-is-correctly-located","status":"publish","type":"post","link":"https:\/\/blog.bur-k.de\/?p=42","title":{"rendered":"Please ensure that adb is correctly located\u2026"},"content":{"rendered":"
\n

Hello folks,<\/p>\n

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.<\/p>\n

I followed a German Guide<\/a> about Android-Programming.<\/p>\n

But when had i finished my HelloWorld App and wanted to Compile it, the first unexcepted error appears.<\/p>\n

The Error was the following:<\/p>\n

[2011-09-10 20:19:36 - HelloWorld] The connection to adb is down, and a severe error has occured.
\n[2011-09-10 20:19:36 - HelloWorld] You must restart adb and Eclipse.
\n[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.<\/code><\/p><\/blockquote>\n

Soon i found out that the Path of SDK Location(Preferences -> Android -> SDK Location) was the cause. My SDK Path was the following:<\/p>\n

C:Program Files (x86)Androidandroid-sdk<\/code><\/p><\/blockquote>\n

So what is wrong? The Spaces in the Path are the problems. To get it work, you must change \u201cProgram Files (x86)\u201d to \u201cProgra~2\u2033<\/p>\n

The complete right path is \u201cC:Progra~2Androidandroid-sdk\u201d.<\/p>\n

Now it should work and you can compile your first Android Application \":)\"<\/p>\n<\/div>\n

<\/div>