Android开发中出现的问题及解决(二)

1.64位Ubuntu14.04安装使用Android开发环境问题:php

错误1:failed to create the SD card
html

错误2:failed to run mksdcardandroid

错误3:Package 'ia32-libs' has no installation candidate。
c++

解决 ubuntu

首先:设置android sdk下的tools权限为可执行权限。而且添加SDK目录中tools和platform-tools目录到PATH.windows

$ sudo chmod -R 775 /home/...../sdk

因为adb是32位的,因此须要安装对于32位的支持库。 ui

$ sudo apt-get install lib32stdc++6 lib32z1 lib32ncurses5 lib32bz2-1.0

错误2::rror while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

解决:url

$ sudo apt-get install lib32stdc++6

或者直接试试这个:es5

$ sudo apt-get install ia32-libs

2.
spa

相关文章
相关标签/搜索