简体   繁体   English

adb:加载共享库时出错:libncurses.so.5:无法打开共享对象文件:没有这样的文件或目录

[英]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.

相关问题 Android adb 错误信息:加载共享库时出错:libncurses.so.5 - Android adb error message: error while loading shared libraries: libncurses.so.5 clang:加载共享库时出错:libtinfo.so.5:无法打开共享对象文件:没有这样的文件或目录 - clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory 加载共享库时出错:libpulse.so.0:无法打开共享 object 文件:没有这样的文件或目录 - error while loading shared libraries: libpulse.so.0: cannot open shared object file: No such file or directory zipalign:加载共享库时出错:libc ++。所以:无法打开共享对象文件:没有这样的文件或目录 - zipalign: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory 在64位Ubuntu 12.04上运行aapt:加载共享库时出错:libc ++。所以:没有这样的文件或目录 - Running aapt on 64-bit Ubuntu 12.04: error while loading shared libraries: libc++.so: No such file or directory ADT - libstdc ++。so.6:无法打开共享对象文件 - ADT - libstdc++.so.6: cannot open shared object file libz.so.1: 无法打开共享对象文件 - libz.so.1: cannot open shared object file Android SDK - aapt 错误:libstdc++.so.6 无法打开共享对象文件 - Android SDK - aapt error : libstdc++.so.6 cannot open shared object file 错误libGL.so:无法使用Android模拟器打开共享对象文件 - Error libGL.so: cannot open shared object file using Android emulator watchman:加载共享库时出错:libpcre.so.1 - watchman: error while loading shared libraries: libpcre.so.1
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM