GitHub user geoidesic created a discussion: Android build was working, installed a plugin, which broke it, removed the plugin but the build is still broken. Any ideas?
Hi all. I'm having some trouble getting my Android build working. I think what has happened, but I'm guessing is this... The android build was working just fine on 28th Oct. Then I installed the firebasex.FirebasePlugin and things started going wrong. The message I started seeing was about Android 14. Now I don't think cordova supports Android 14 based on this: https://cordova.apache.org/docs/en/11.x/guide/platforms/android/#android-api-level-support Maybe I'm wrong but I'm guessing that something outside of the project was changed as a result of something inside the project, like maybe the version of gradle or some stuff that's part of Android Studio, I don't know but since then I've removed that plugin and reverted to the old commit and yet the build is still dead. The failure is: ``` BUILD SUCCESSFUL in 1s 1 actionable task: 1 executed Subproject Path: CordovaLib Subproject Path: app FAILURE: Build failed with an exception. * Where: Build file '/Users/noel/myapp/cordova/build/platforms/android/build.gradle' line: 21 * What went wrong: A problem occurred evaluating root project 'Sportch'. > Could not read workspace metadata from > /Users/noel/.gradle/caches/8.13/groovy-dsl/f9c768613df66b75340eda79bfadd8c7/metadata.bin * 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 933ms Command failed with exit code 1: /Users/noel/myapp/cordova/build/platforms/android/tools/gradlew cdvBuildDebug >>> ERROR: Android build failed ``` However, that folder groovy-dsl does not exist. I've tried deleting the caches but that didn't help. I'm lost tbh. Any help appreciated. GitHub link: https://github.com/apache/cordova/discussions/571 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
