安装SDK过程中报类似的错误:
Stopping ADB server failed (code -1).
Unable to run 'adb':Cannot run program "/home/xxxx/android-sdk-linux/platform-tools/adb": java.io.IOException: error=2,No such file or directory.
Starting ADB server failed (code -1).
原因是什么呢?因为我得是64位的Ubuntu系统,解决方案请参见这里:
If you are running a 64-bit distribution on your development machine, you need to install the ia32-libs
package
http://developer.android.com/sdk/installing/index.html
http://stackoverflow.com/questions/8812329/android-sdk-issues-ubuntu-10-04lts
安装Android开发环境, 参考google这个网址就可以了:
http://developer.android.com/sdk/index.html
https://developers.google.com/android/