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 2020/08/27 09:48:12 UTC
[GitHub] [cordova-android] sts-ryan-holton opened a new issue #1058: gradle.properties keeps getting overwritten
sts-ryan-holton opened a new issue #1058:
URL: https://github.com/apache/cordova-android/issues/1058
# Bug Report
## Problem
When trying to edit `gradle.properties` my settings keep getting overwritten when running `cordova build android`.
### What is expected to happen?
I expect my settings to not be overwritten when I change them.
### What does actually happen?
Settings are getting overwritten.
### Command or Code
I'm setting `android.useAndroidX` to **true** but when I run `cordova build android` it gets set to **false** which isn't the intended behaviour.
### Environment, Platform, Device
Mac
Android
### Version information
Cordova 10
Cordova Android 9.0.0
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above
----------------------------------------------------------------
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.
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
[GitHub] [cordova-android] erisu closed issue #1058: gradle.properties keeps getting overwritten
Posted by GitBox <gi...@apache.org>.
erisu closed issue #1058:
URL: https://github.com/apache/cordova-android/issues/1058
--
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
[GitHub] [cordova-android] Menardi commented on issue #1058: gradle.properties keeps getting overwritten
Posted by GitBox <gi...@apache.org>.
Menardi commented on issue #1058:
URL: https://github.com/apache/cordova-android/issues/1058#issuecomment-682042544
Anything in the `platforms` folder can be overwritten by the build process, so you should avoid editing it.
To enable AndroidX, you should add this line to your `config.xml`:
```
<preference name="AndroidXEnabled" value="true" />
```
----------------------------------------------------------------
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.
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
[GitHub] [cordova-android] erisu commented on issue #1058: gradle.properties keeps getting overwritten
Posted by GitBox <gi...@apache.org>.
erisu commented on issue #1058:
URL: https://github.com/apache/cordova-android/issues/1058#issuecomment-889730644
I am closing out this ticket as resolved.
As described in the above comment, to enable or disable AndroidX, you need to use the `AndroidXEnabled` preference flag.
This preference flag is configurable in Cordova-Android 9.x.
Since Cordova-Android 10.x release, AndroidX is the only supported library and therefore this flag has been deprecated/removed.
--
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