Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/180.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
linux ubuntu-android开发的初始设置_Android_Installation_Adb - Fatal编程技术网

linux ubuntu-android开发的初始设置

linux ubuntu-android开发的初始设置,android,installation,adb,Android,Installation,Adb,我是android开发新手,正在使用linux ubuntu平台 在eclipse中设置android sdk的路径或创建新的android项目时,会出现以下错误: failed to parse the output of 'adb version': adb version failed: path_to/android-sdk/platform-tools/adb: error while loading shared libraries: libstdc++.so.6: canno

我是android开发新手,正在使用linux ubuntu平台

在eclipse中设置android sdk的路径或创建新的android项目时,会出现以下错误:

failed to parse the output of 'adb version':

adb version failed:

path_to/android-sdk/platform-tools/adb: error while loading shared libraries:
 libstdc++.so.6: cannot open shared object file: No such file or directory

我使用的是安卓网站上最新的adt包。

您缺少用于ADB的32位库。您需要在终端中运行以下命令:

sudo apt-get install libc6-i386 lib32stdc++6

错误-无法打开共享对象文件:没有此类文件或目录。这是因为我不是我电脑的管理员吗?不是,这是因为没有安装lib32stdc++6软件包。我按照你说的安装了,但还是一样的问题!真奇怪。我希望其他人能对你的问题有所了解。