breautek commented on issue #1497: URL: https://github.com/apache/cordova-android/issues/1497#issuecomment-1255713622
By Android API S, I assume you mean API 31/Android 12.0 simulator. I tried this with an empty cordova project with the default settings, as shown in the reproduction steps. and it isn't producing any RuntimeException for me. I recommend to do the following: - Ensure that Build Tools 32.0.0 is in your `PATH`. Sometimes Cordova can intelligently find the correct build tools version, but other command line utilities will silently fail and produce bad builds by using an older build tools than what is expected for your compile target. - Ensure that Java 11 is being used (`JAVA_HOME` and `PATH` leads to a Java 11 environment) - Compile/target against API 32 (The cordova default in cordova-android@11) If all that looks correct and you still have a reproducible error, then we may need a [minimal reproduction app](https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md) to move this issue along. -- 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]
