I'm trying to use Cordova for the first time but I'm not getting it.
I have already seen the directories the file AndroidManifest.xml and project.properties
In Android Studio I have already installed the Android SDK for platforms 14, 16 and 20 to 27.
I do not know what else to do ...
This is the gift:
C:\Android\Cordova\hello>cordova requirements
Android Studio project detected
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/annota
tion/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(Sc
hemaModule.java:156)
at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75)
at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHa
ndler.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(BuiltinCla
ssLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(C
lassLoaders.java:185)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
... 5 more
Gradle: installed C:\Program Files\Android\Android Studio\gradle\gradle-4.1\bin\
gradle
(node:6696) UnhandledPromiseRejectionWarning: CordovaError: Some of requirements
check failed
at C:\Users\julio\AppData\Roaming\npm\node_modules\cordova\src\cli.js:414:27
at _fulfilled (C:\Users\julio\AppData\Roaming\npm\node_modules\cordova\node_
modules\cordova-lib\node_modules\q\q.js:787:54)
at self.promiseDispatch.done (C:\Users\julio\AppData\Roaming\npm\node_module
s\cordova\node_modules\cordova-lib\node_modules\q\q.js:816:30)
Whenaddingandroid:
*AndroidManifest.xmlchangedafter"cordova platform add [email protected]"