[英]adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
I'm having some trouble running a Phonegap imported project on my laptop with Debian.我在使用 Debian 的笔记本电脑上运行 Phonegap 导入的项目时遇到了一些问题。 I have already installed Eclipse and the plug-in for Android and everything seems to work fine until here.
我已经安装了 Eclipse 和 Android 插件,在此之前一切似乎都正常。 I have added this line to my .bashrc file:
我已将此行添加到我的 .bashrc 文件中:
export PATH=${PATH}:/home/s/android-sdks/platform-tools/
I choose new Android project from existing file, in Eclipse, and then I load the code of the project.我从现有文件中选择新的 Android 项目,在 Eclipse 中,然后加载项目的代码。 But when I try to execute it, I get this error message:
但是当我尝试执行它时,我收到此错误消息:
[2013-06-13 18:12:16 - MyProject] Android Launch!
[2013-06-13 18:12:16 - MyProject] The connection to adb is down, and a severe error has occured.
[2013-06-13 18:12:16 - MyProject] You must restart adb and Eclipse.
[2013-06-13 18:12:16 - MyProject] Please ensure that adb is correctly located at '/home/s/android-sdks/platform-tools/adb' and can be executed.
If I try to execute the command: adb server-start in the terminal, I get this message:如果我尝试在终端中执行命令:adb server-start,我会收到以下消息:
adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
Did I miss something?我错过了什么? ADB is right, I do not have the file libncurses.so.5 anywhere on my computer even though I have already installed all the 32-bit compatible libraries (my machine is 64-bit).
ADB 是对的,即使我已经安装了所有 32 位兼容库(我的机器是 64 位),我的计算机上也没有文件 libncurses.so.5。
您需要 32 位版本的ncurses
包,
sudo apt-get install lib32ncurses5
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.