ath0mas commented on issue #1362:
URL: 
https://github.com/apache/cordova-android/issues/1362#issuecomment-931413459


   Answer by Bibzball in the Reddit I linked seems to be a good workaround ; it 
works fine in my case:
   
   add a `build-extras.gradle` file with following content
   ```
   configurations.all {
     resolutionStrategy {
       force 'androidx.core:core:1.6.0'
       force 'androidx.core:core-ktx:1.6.0'
     }
   }
   ```
   
   See details on using this specific file: 
https://cordova.apache.org/docs/en/10.x/guide/platforms/android/#extending-buildgradle
   
   I do it with a copy of `build-extras.gradle` into 
`<your-project>/platforms/android/` through a script referenced as a ` 
src="scripts/my-copy-script.js" />` in `config.xml`.


-- 
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-unsubscr...@cordova.apache.org

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



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

Reply via email to