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/21 13:17:46 UTC

[GitHub] robations commented on issue #599: cdvMinSdkVersion seems to not work in 7.1.4

robations commented on issue #599: cdvMinSdkVersion seems to not work in 7.1.4
URL: https://github.com/apache/cordova-android/issues/599#issuecomment-465995985
 
 
   I'm seeing something like this after upgrading to v8 from v7.x, not sure if that's expected.
   
   **Symptoms:**
   
   It seems like a minimum SDK < 19 is no longer supported so I changed my preference in `config.xml`:
   
   ```
       <platform name="android">
           <preference name="android-targetSdkVersion" value="26" />
           <preference name="android-minSdkVersion" value="19" />
   ```
   
   When I build (`cordova build android`) I get the following warning (which eventually causes the build to fail):
   
   ```
   [Gradle Properties] Detected Gradle property "cdvMinSdkVersion" with the value of "16", Cordova's recommended value is "19"
   ```
   
   When I search through the AndroidManifest.xml files under platforms/android everything is saying 19, so the merge has worked but it seems like there is a gradle property sticking around somewhere. (FYI I know almost nothing about the internals of gradle or the Android build process :-/ .)
   
   I'm going to try @falcon8823 's workaround for now.

----------------------------------------------------------------
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