简体   繁体   中英

Android development environment in ubuntu?

我是一个新的Android开发人员,我想在unbun编码。我在http://developer.android.com/sdk/index.html下载sdk,但是当我打开eclipse时,它会提示错误

[2014-03-05 22:01:39 - adb] Unexpected exception 'Cannot run program "/usr/local/bin/adt-bundle-linux-x86_64-20131030/sdk/platform-tools/adb": error=2, 没有那个文件或目录' while attempting to get adb version from '/usr/local/bin/adt-bundle-linux-x86_64-20131030/sdk/platform-tools/adb',i am confused with this question,who can help me?

Is Java installed? Can you access it from the command line - IOW what does:

java --version

return?

Is this version compatible with the Android SDK you've installed?

Can you run adb commands from the command line?

Is Eclipse configured with to use your installed versions of Java and Android SDK?

What user is Eclipse running as? Does that user have execute permissions for Java and the Android SDK?

On Linux you need to install IA32 library as well.

Try this:

    apt-get install ia32-libs

You can no longer install ia32-libs, so you must the individual 32 bit libraries needed by adb

   sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5

And for Ubuntu 13.10:

   sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM