> ## Content Index
> Fetch the complete content index at: https://yinguobing.com/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# Install Android Studio on Ubuntu 16.04
- URL: https://yinguobing.com/blog/install-android-studio-on-ubuntu-16-04/
- Published: 2017-02-07T06:46:12.000Z
- Updated: 2022-05-29T07:57:12.000Z
- Description: 由于工作原因需要在Ubuntu上安装Android Studio，遇到两个坑列在这里。
- Author: 尹国冰
- Tags: Linux

由于工作原因需要在Ubuntu上安装Android Studio，遇到两个坑列在这里。

## Gradle卡在解决依赖关系

Android Studio安装完成后新建空工程，然后状态栏里显示Gradle在尝试解决依赖关系，并且花费很长时间也无法完成。

原因：我的网络需要通过proxy，且Gradle需要HTTPS proxy。

解决办法：新建项目，当Android提示Gradle提示输入proxy信息时，记住同时启用基于HTTPS的proxy。

## 找不到文件radeonsi\_dri.so

当运行Emulator时，报错：`libGL error: unable to load driver: radeonsi_dri.so`

这个其实和AMD没有关系，是ADC自带的libstdc++库文件造成的\[^n\]。通过删除SDK目录下的`libstdc++.so.6`文件即可。

### REF.