sebastianjnuwu opened a new issue, #1664:
URL: https://github.com/apache/cordova-android/issues/1664

   Hello, I'm trying to build an Android application using just one Ubuntu VPS 
per command line but I'm having problems, see below the error I receive; I was 
following the documentation
   
   ```bash
   root@website:~/hello# cordova requirements
   
   Requirements check results for android:
   Java JDK: installed 19.0.2
   Android SDK: installed true
   Android target: not installed
   Command failed with ENOENT: avdmanager list target
   spawn avdmanager ENOENT
   Gradle: installed /usr/share/gradle/bin/gradle
   Some of requirements check failed
   root@website:~/hello# cordova build
   Checking Java JDK and Android SDK versions
   ANDROID_HOME=/root/android-sdk (recommended setting)
   ANDROID_SDK_ROOT=undefined (DEPRECATED)
   Using Android SDK: /usr/lib/android-sdk
   Starting a Gradle Daemon (subsequent builds will be faster)
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Could not create service of type ScriptPluginFactory using 
BuildScopeServices.createScriptPluginFactory().
   > Could not create service of type PluginResolutionStrategyInternal using 
BuildScopeServices.createPluginResolutionStrategy().
   
   * Try:
   Run with --stacktrace option to get the stack trace. Run with --info or 
--debug option to get more log output. Run with --scan to get full insights.
   
   * Get more help at https://help.gradle.org
   
   BUILD FAILED in 20s
   Command failed with exit code 1: /usr/share/gradle/bin/gradle -p 
/root/hello/platforms/android wrapper -b 
/root/hello/platforms/android/wrapper.gradle
   root@website:~/hello#
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to