treecaptcha commented on issue #391: URL: https://github.com/apache/cordova/issues/391#issuecomment-1517012126
I set `CORDOVA_JAVA_HOME` however I'm now getting this error that doesn't make sense ```treecaptcha@TreeCaptcha:~/gitstuff/MyApp$ cordova build android Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=undefined (recommended setting) ANDROID_HOME=/home/treecaptcha/Android/Sdk (DEPRECATED) Using Android SDK: /usr/lib/android-sdk Subproject Path: CordovaLib Subproject Path: app Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details FAILURE: Build failed with an exception. * Where: Script '/home/treecaptcha/gitstuff/MyApp/platforms/android/CordovaLib/cordova.gradle' line: 75 * What went wrong: A problem occurred evaluating script. > No usable Android build tools found. Highest 30.x installed version is 27.0.1; Recommended version is 30.0.3. * 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 Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 7s Command failed with exit code 1: /home/treecaptcha/gitstuff/MyApp/platforms/android/gradlew cdvBuildDebug -b /home/treecaptcha/gitstuff/MyApp/platforms/android/build.gradle ``` -- 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]
