跟着《第一行代码》搭建开发环境,但我使用的是ubantu系统,在创建模拟器的过程中出现了AVD创建的问题,问题是:An error occurred while creating the AVD. See idea.log
在网上查找答案都是说少了一个库,使用以下命令:sudo apt-get install lib32stdc++6,执行以后没有用。
后来在这里看到了一个解决方法,在终端中输入以下命令:
sudo chown -R 用户名 .android
成功!
跟着《第一行代码》搭建开发环境,但我使用的是ubantu系统,在创建模拟器的过程中出现了AVD创建的问题,问题是:An error occurred while creating the AVD. See idea.log
在网上查找答案都是说少了一个库,使用以下命令:sudo apt-get install lib32stdc++6,执行以后没有用。
后来在这里看到了一个解决方法,在终端中输入以下命令:
sudo chown -R 用户名 .android
成功!