Android Ubuntu 16.04 上的虚拟设备 (AVD) 创建问题
Android Virtual Device(AVD) creation issue on Ubuntu 16.04
我正在尝试在我的 Ubuntu 16.04 机器上创建 AVD。我正在使用 Android Studio。当我要创建 AVD 时,它显示 "An error occurred while creating the AVD. See idea.log for details"。我在日志文件中找不到任何内容。
创建 AVD 时在日志文件中生成的最后几行:
2017-03-10 11:27:01,806 [ 204460] INFO - attrs.AttributeDefinitionsImpl - Found tag with unknown parent: AndroidManifest.AndroidManifestCompatibleScreens
2017-03-10 11:28:42,656 [ 305310] INFO - tools.idea.ddms.adb.AdbService - Initializing adb using: /home/hizbul/Android/Sdk/platform-tools/adb, client support = true
2017-03-10 11:28:46,759 [ 309413] INFO - tools.idea.ddms.adb.AdbService - Successfully connected to adb
2017-03-10 11:28:46,763 [ 309417] INFO - ditor.DeployTargetPickerDialog - Successfully obtained debug bridge
2017-03-10 11:30:39,268 [ 421922] WARN - vdmanager.AvdManagerConnection - Failed to create the SD card.
2017-03-10 11:30:39,268 [ 421922] WARN - vdmanager.AvdManagerConnection - Failed to create sdcard in the AVD folder.
2017-03-10 11:31:19,319 [ 461973] INFO - .script.IdeScriptEngineManager - javax.script.ScriptEngineManager initialized in 642 ms
Ubuntu 16.04 LTS,AndroidStudio 2.*,使用这个:
sudo apt-get install lib32stdc++6
有效。