我正在尝试在我的Ubuntu 16.04机器上创建AVD。我正在使用Android Studio。虽然我要创建AVD,但它显示“创建AVD时出错。有关详细信息,请参阅idea.log”。我在日志文件中找不到任何东西。
创建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
答案 0 :(得分:130)
Ubuntu 16.04 LTS,AndroidStudio 2。*,使用此:
sudo apt-get install lib32stdc++6
有效。