Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/204.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 64位ubuntu上的adb库依赖项出错_Android_Ubuntu_Adb - Fatal编程技术网

Android 64位ubuntu上的adb库依赖项出错

Android 64位ubuntu上的adb库依赖项出错,android,ubuntu,adb,Android,Ubuntu,Adb,尝试在Ubuntu 12.1计算机中创建我的测试项目时: adb install bin/opine_test-debug.apk adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory 因此,我要安装lib64ncurses(我实际上运行的是64位操作系统): 结果发现,有问题的包是libc-amd64: sudo

尝试在Ubuntu 12.1计算机中创建我的测试项目时:

adb install bin/opine_test-debug.apk
adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
因此,我要安装lib64ncurses(我实际上运行的是64位操作系统):

结果发现,有问题的包是
libc-amd64

sudo apt-get install libc6-amd64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6 : Conflicts: libc6-amd64:i386 but 2.15-0ubuntu20.1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
我被正式难倒了。这是什么问题?

试试:

sudo apt get install lib32ncurses5 lib32stdc++6

*sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
要运行emulator,您需要额外的软件包:

*sudo apt-get install libsdl1.2debian:i386
然后安装ia32 libs:

*apt-get install ia32-libs

您是否尝试过:apt get install lib32ncurse5 lib32stdc++6确实做到了这一点。我想我已经安装了一些32位库,它们与我试图安装的64位库不兼容。如果您对此做出回答,我将接受。如果您在aapt方面也有此问题,您将需要运行以下程序:sudo apt get install zlib1g:i386
*apt-get install ia32-libs