maxdeepfield opened a new issue #875: Impossible to create new app and build it for Android. URL: https://github.com/apache/cordova-android/issues/875 # Bug Report ## Problem When create new cordova project, add android platform and open android folder with Android Studio, it is unable to sync gradle settings and set up gradle wrapper to make build works. ### What is expected to happen? Android Studio "does the gradle magic without errors" ### What does actually happen? app/build gradle error ERROR: Unable to load class 'com.android.builder.model.BuildType'. Possible causes for this unexpected error include: Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem. Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project. ## Information Platform removed and added All rebuilt and cleaned Many gradle versions tested ### Environment, Platform, Device + Version information windows 10 1909 android studio 3.5.2 cordova 9.0.0 cordova-android 8.1.0 gradle 3/4/5/6 - whatever ## Checklist - [ x] I searched for existing GitHub issues - [ x] I updated all Cordova tooling to most recent version - [ x] I included all the necessary information above - [ x] I tried reboot/reinstall anything
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
