ath0mas edited a comment 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 workaround too ; 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to