adb error on Android SDK. Using Linux Ubuntu 64 bit 12.10

北城余情 提交于 2019-12-18 10:45:02

问题


I looked on this site for this error I'm encountering:

Stopping ADB server failed (code -1).
Unable to run 'adb': Cannot run program "/home/ariel/Downloads/adt-bundle-linux-x86_64/sdk/platform-tools/adb": error=2, No such file or directory.
Starting ADB server failed (code -1).

I've used this command on the terminal provided from this topic.

Android SDK on a 64-bit linux machine

EDIT: I've tried using this command on terminal:

sudo apt-get install ia32-libs

Sadly, it did nothing and it showed this:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libc6-i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libc6-i386' has no installation candidate

回答1:


I had the same problem, but it's fine now with these commands :

*sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386

for running the emulator you need that additional package:

*sudo apt-get install libsdl1.2debian:i386

then install ia32-libs:

*apt-get install ia32-libs




回答2:


You need to add i386 packages to apt

dpkg --add-architecture i386



回答3:


I just used

sudo apt-get install lib32bz2-1.0



回答4:


For this problem, one may try :

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


来源:https://stackoverflow.com/questions/14421171/adb-error-on-android-sdk-using-linux-ubuntu-64-bit-12-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!