Android AVD - Home已定义但未在$ HOME中找到nexus6.xml

时间:2016-12-04 23:41:30

标签: android sdk emulation

我已经为cordova工作了一切,但我正在玩Library / Android / sdk / tools / android avd

我从列表中删除了一个Android虚拟设备。然后创建另一个。我不认为这是相关的,因为你可以创建任意多个。但是现在,当我,

时,我收到了这个错误
sudo cordova emulate android

建立成功

Total time: 11.64 secs
Built the following apk(s): 
/Users/UserName/Documents/app-dev/giraffebuilder/hollywood-and-me/hello/platforms/android/build/outputs/apk/android-debug.apk
 ANDROID_HOME=/Users/UserName/Library/Android/sdk
 JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home
 No emulator specified, defaulting to nexus6
 Waiting for emulator to start...
 **PANIC: Unknown AVD name [nexus6], use -list-avds to see valid list.
 HOME is defined but could not find nexus6.ini file in $HOME/.android/avd
 (Note: avd is searched in the order of         $ANDROID_AVD_HOME,$ANDROID_SDK_HOME/.android/avd and $HOME/.android/avd)**

当我跑

 sudo cordova requirements

一切都很好!

Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: installed android-3,android-4,android-5,android-6,android-     7,android-8,android-9,android-10,android-11,android-12,android-13,android-   14,android-15,android-16,android-17,android-18,android-19,android-20,android-21,android-22,android-23,android-24,android-25, 
Google Inc.:Google APIs:15,Google Inc.:Google APIs:16,Google Inc.:Google APIs:17,Google Inc.:Google APIs:18,Google Inc.:Glass Development 
Kit Preview:19,Google Inc.:Google APIs:19,Google Inc.:Google APIs:21,
Google Inc.:Google APIs:22,Google Inc.:Google APIs:23,Google Inc.:Google APIs:24

Gradle: installed

Requirements check results for ios:
Apple OS X: installed darwin
Xcode: installed 8.1
ios-deploy: installed 1.9.0
CocoaPods: installed

你能帮我解决这个问题,我在这里做错了什么?

0 个答案:

没有答案