2017-09-26 63 views
0

嗨,我嘗試設置Android的離子+科爾多瓦。我安裝JDK,Android SDK中等等,但科爾多瓦要求給我科爾多瓦無法看到Android目標

Requirements check results for android: 
Java JDK: installed 
Android SDK: installed true 
Android target: not installed 
cmd: Command failed with exit code 1 Error output: 
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema 
     at com.android.repository.api.SchemaModule$SchemaModuleVersion.<initSchemaModule.java:156) 
     at com.android.repository.api.SchemaModule.<initSchemaModule.java:75) 
     at com.android.sdklib.repository.AndroidSdkHandler.<clinitAndroidSdkHandler.java:81) 
     at com.android.sdklib.tool.AvdManagerCli.run(AvdManagerCli.java:213) 
     at com.android.sdklib.tool.AvdManagerCli.main(AvdManagerCli.java:200) 
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema 
     at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582) 
     at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185) 
     at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496) 
     ... 5 more 
Gradle: installed C:\Program Files\Android\Android Studio\gradle\gradle-3.2\bin\gradle 
+0

你已經解決這個問題? 我現在有同樣的問題。 –

回答

0

這意味着模擬器中試圖在不運行運行你的應用程序。您需要安裝或運行此模擬器。嘗試運行模擬器第一,比如在我結束它看起來像這樣: Shows the green "PLAY" button if your setup is correct

enter image description here