【发布时间】:2013-05-26 08:13:27
【问题描述】:
我一直在尝试通过模拟器从http://developer.android.com/training/basics/firstapp/running-app.html#Emulator 执行简单的 hello world 应用程序,但我收到了这个错误:
-
/<my path>/platform-tools/adb: cannot execute binary file
尝试做的时候:
adb install bin/MyFirstApp-debug.apk
我跟着这个:Eclipse Android Plugin -- libncurses.so.5 没有成功。这是我的第一个 android 版本,我是从 Ubuntu 64 上的命令行执行的。
【问题讨论】:
-
你试过
sudo apt-get install ia32-libs吗? -
嗯,这是一个完全不同的问题。我有,但在连接到互联网的机器上。我做了
sudo apt-get -d build-dep ia32-libs,它下载了大约 70-80 Mb 的数据(看起来很小)。 -
您是否在收到
adb: cannot execute binary file错误的系统上尝试过sudo apt-get install ia32-libs? -
@AlexP。不,只是因为我正在尝试进行离线构建