Ubuntu16 64位安装android studio时需要使用以下命令安装一些 32 位库:
但安装时出现错误:
参考:
1、 https://developer.android.com/studio/install.html
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
但安装时出现错误:
E: Unable to locate package lib32bz2-1.0
E: Couldn't find any package by glob 'lib32bz2-1.0'
E: Couldn't find any package by regex 'lib32bz2-1.0'
解决方法,使用以下命令进行安装:
sudo apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 lib32stdc++6
参考:
1、 https://developer.android.com/studio/install.html
2、https://askubuntu.com/questions/637113/unable-to-locate-package-lib32bz2-1-0