Eclipse ADT Unexpected exception 'Cannot run p

2020-06-03 07:00发布

I have installed ADT Bundle on my laptop. I have ubuntu 13.10 but when I open the ADT I see this message:

Unexpected exception 'Cannot run program "/home/.../Descargas/adt-bundle-linux-x86_64 20131030/sdk/platform-tools/adb": 
error=2, No existe el archivo o el directorio' while attempting to get adb version from '/home/.../Descargas/adt-bundle-linux-x86_64-20131030/sdk/platform-tools/adb'

[2013-12-25 16:20:14 - adb] Unexpected exception 'Cannot run program "/home/.../Descargas/adt-bundle-linux-x86_64-20131030/sdk/platform-tools/adb": 
error=2, No existe el archivo o el directorio' while attempting to get adb version from '/home/.../Descargas/adt-bundle-linux-x86_64-20131030/sdk/platform-tools/adb'

It is my first time installing and developing on android, so, I do not know what to do. Can someone help me?

5条回答
成全新的幸福
2楼-- · 2020-06-03 07:44

I think you have to install: IA32 library

You can test this command: apt-get install ia32-libs

查看更多
趁早两清
3楼-- · 2020-06-03 07:47

If you're on ubuntu 13.10 (and possibly other versions >= 12.10), you may need to install

sudo apt-get install lib32ncurses5 lib32stdc++6 zlib1g:i386 libc6-i386

in stead. ia32-libs is no longer available on 13.10

查看更多
forever°为你锁心
4楼-- · 2020-06-03 07:49

I am using Ubuntu 14.04 LTS 64-bit and the following code works for me:

sudo apt-get install lib32z1 lib32z1-dev
查看更多
【Aperson】
5楼-- · 2020-06-03 07:51

Its documented in Android's Setting Up an Existing IDE page, click on the Troubleshooting Ubuntu link. For Ubuntu 13.10 (Saucy Salamander) and newer you need to add these packages:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386
查看更多
聊天终结者
6楼-- · 2020-06-03 08:01

I faced the same problem but after re-extracting the ADT file,this message disappeared.

Working on Ubunto 13.10 , The ADT file name (adt-bundle-linux-x86_64-20131030.zip)

查看更多
登录 后发表回答