无法使用avdmanager
命令行创建仿真器。我想使用命令行创建模拟器,但是在创建模拟器实例时遇到以下异常:
错误:
Auto-selecting single ABI x86_64========] 100% Fetch remote repository...
Parsing /Users/teamxrtc/Library/Android/sdk/build-tools/28.0.3/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/emulator/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/extras/android/m2repository/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/extras/google/m2repository/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/extras/m2repository/com/android/support/constraint/constraint-layout-solver/1.0.0-beta3/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/extras/m2repository/com/android/support/constraint/constraint-layout/1.0.0-beta3/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/patcher/v4/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/platform-tools/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/platforms/android-23/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/platforms/android-24/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/platforms/android-25/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/platforms/android-26/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/platforms/android-27/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/platforms/android-28/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/sources/android-23/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/sources/android-24/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/sources/android-25/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/sources/android-26/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/sources/android-27/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/sources/android-28/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/system-images/android-24/default/x86_64/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/system-images/android-24/google_apis/x86/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/system-images/android-24/google_apis_playstore/x86/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/system-images/android-28/google_apis_playstore/x86/package.xmlParsing /Users/teamxrtc/Library/Android/sdk/tools/package.xmlCopying files Error: AVD not created.
null
我知道了
Error: AVD not created. null
用于创建仿真器的命令:
avdmanager create avd -n Emulator1 -k "system-images;android-24;default;x86_64" -c 2000M --tag "default" --device "Nexus S"
有帮助吗?