2

I am build an android app in ionic 4. when I changing the value of android.useAndroidX= true to android.useAndroidX= false, after running command to build ionic cordova build it again sets to android.useAndroidX= true. I don't know from where it is overriding the value

coder
  • 21
  • 1
  • 2
  • Have you found any workaround? Setting ```` in config.xml is totally pointless, everytime the APK is built gradle.properties is reset. – andreszs Apr 25 '22 at 13:54

1 Answers1

0

You have to upgrade cordova-android.

ionic cordova platform rm android
ionic cordova platform add android@10

You have more answers on this post 63831903

user3486626
  • 139
  • 1
  • 6