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
你已經解決這個問題? 我現在有同樣的問題。 –