You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/07/15 13:42:23 UTC

[GitHub] [cordova-android] breautek commented on issue #1281: Can't set preference for compileSdkVersion/buildToolsVersion

breautek commented on issue #1281:
URL: https://github.com/apache/cordova-android/issues/1281#issuecomment-880704893


   `android-compileSdkVersion` or `android-buildToolsVersion` are not preferences on cordova-android@9. You can view a list of preferences [here](https://cordova.apache.org/docs/en/10.x/config_ref/index.html).
   
   Cordova does expose compile and sdk tools options via gradle. See https://cordova.apache.org/docs/en/10.x/guide/platforms/android/index.html#setting-gradle-properties for how to use gradle options.
   
   Note that these are being cleaned up in our next major release that is pending. `cdvCompileSdkVersion` is being removed, and the existing `android-targetSdkVersion` config preference will now set both target and compile sdk. I think [android-buildToolsVersion](https://github.com/apache/cordova-android/blob/master/lib/prepare.js#L96) is also being added as a config preference in `cordova-android@10`
   
   I'm closing this issue becaues it's not a bug. If you require further support, I recommend asking our [Slack community](http://slack.cordova.io/).
   
   Kind Regards,


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

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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