You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/27 12:33:45 UTC

[GitHub] [cordova-android] maxdeepfield opened a new issue #875: Impossible to create new app and build it for Android.

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org