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/02/19 21:38:27 UTC

[GitHub] noledgy edited a comment on issue #675: Gradle Fails to sync after upgrading to Cordova Android 8.0

noledgy edited a comment on issue #675: Gradle Fails to sync after upgrading to Cordova Android 8.0
URL: https://github.com/apache/cordova-android/issues/675#issuecomment-465310106
 
 
   ```
   create MyTest
   cordova platform add android@8.0.0
   cordova build
   ```
   - Start Android Student (3.3.1)
   
   Just importing, wsync failed:
   
   ```
   ERROR: The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.
   Move minSdkVersion to build files and sync project
   Affected Modules: CordovaLib, app
   ```
   
   - Remove minSdk from CordovaLib and app manifest
   - Rebuild project get error
   - Close and re-open Android Studio
   - Popup comes up telling you upgrade to Android Gradle plugin to version 3.3.1 and Gradle to version 4.10.1. Do it.
   
   Build now runs
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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