fjellandermedia opened a new issue #1078: URL: https://github.com/apache/cordova-android/issues/1078
<!-- Please have a look at the issue templates you get when you click "New issue" in the GitHub UI. We very much prefer issues created by using one of these templates. --> ### Issue Type <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [X ] Bug Report - [ ] Feature Request - [ ] Support Question ## Description Build fails, even on new projects. It works with [email protected], but not on [email protected]. This is the output: >Gabriels-MBP:test gabriel$ cordova build android >Checking Java JDK and Android SDK versions >ANDROID_SDK_ROOT=/Users/gabriel/Library/Android/sdk (recommended setting) >ANDROID_HOME=/Users/gabriel/Library/Android/sdk (DEPRECATED) >Using Android SDK: /Users/gabriel/Library/Android/sdk >Subproject Path: CordovaLib >Subproject Path: app > >FAILURE: Build failed with an exception. > >* Where: >Build file '/Users/gabriel/Documents/cordova/test/platforms/android/app/build.gradle' line: 20 > >* What went wrong: >A problem occurred evaluating project ':app'. > Could not initialize class com.android.build.gradle.internal.VariantManager > >* 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 1s >Command failed with exit code 1: /Users/gabriel/Documents/cordova/test/platforms/android/gradlew cdvBuildDebug -b >/Users/gabriel/Documents/cordova/test/platforms/android/build.gradle` I have updated to latest Cordova CLI and latest SDK:s and build tools in Android Studio. ### Command or Code >cordova create test se.fjellandermedia.test testApp >cd test >cordova platform add android >cordova build android ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> Macbook Pro, macOS 10.15.6 ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. Cordova CLI 10.0.0, no plugins Android Studio 4.0.1, all the latest sdk:s and build tools installed. --> ## Checklist <!-- Please check the boxes by putting an `x` in the `[ ]` like so: `[x]` --> - [ X] I searched for already existing GitHub issues about this - [X ] I updated all Cordova tooling to their most recent version - [ X] I included all the necessary information above ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
