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 2018/12/03 16:47:00 UTC
[GitHub] falcon8823 opened a new issue #599: cdvMinSdkVersion seems to not
work in 7.1.4
falcon8823 opened a new issue #599: cdvMinSdkVersion seems to not work in 7.1.4
URL: https://github.com/apache/cordova-android/issues/599
I specified this `<preference name="android-minSdkVersion" value="23" />` into `config.xml`, but it seems not work in `7.1.4`.
I think these PRs might cause this problem.
- https://github.com/apache/cordova-android/pull/495/files
- https://github.com/apache/cordova-android/pull/551/files
https://github.com/apache/cordova-android/blob/a68f9fd752a25bb680da96414a3b956357c2dfcb/bin/templates/project/app/build.gradle#L125
I quickly fix this line to
`ext.cdvMinSdkVersion = cdvMinSdkVersion == null ? defaultMinSdkVersion : Integer.parseInt('' + cdvMinSdkVersion)`.
It seems work well.
----------------------------------------------------------------
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