You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2017/02/13 18:47:42 UTC

[jira] [Commented] (CB-10862) Cannot set minsdkversion

    [ https://issues.apache.org/jira/browse/CB-10862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15864194#comment-15864194 ] 

jcesarmobile commented on CB-10862:
-----------------------------------

I've sent a PR to the barcode plugin to make it respect the android-minSdkVersion if there is one and it's greater than 15.
https://github.com/phonegap/phonegap-plugin-barcodescanner/pull/413

But sadly, I don't think we can do much more, if we allow plugins to write on gradle files they can mess with values such us minSdkVersion

> Cannot set minsdkversion
> ------------------------
>
>                 Key: CB-10862
>                 URL: https://issues.apache.org/jira/browse/CB-10862
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 5.1.1
>            Reporter: Sergey
>            Assignee: Sergey Shakhnazarov
>            Priority: Trivial
>              Labels: triaged
>
> used:
> cordova clean android
> cordova prepare android
> cordova build android --release --device --browserify --buildConfig=../resources/config.json -- --gradleArg=-PcdvVersionCode=212 --gradleArg=-PcdvMinSdkVersion=21 --gradleArg=-PcdvCompileSdkVersion=android-23
> still produces minSdk 14+



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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