breautek commented on issue #536:
URL: https://github.com/apache/cordova-cli/issues/536#issuecomment-707749378


   You're seeing this error because you have a plugin that depends on androidx 
support libraries.
   
   As of `cordova-android@9` you can use the `AndroidXEnabled` preference to 
turn on androidx.
   
   `<preference name="AndroidXEnabled" value="true" />`
   
   When you enable androidx, any code using the old deprecated support 
libraries **will** break, as the androidx support libraries are incompatible 
with the old support libraries. You should be able to scan for 
`android.support` imports across your java source files to determine if there 
is any code depending on the old support libraries. If you don't have any, then 
you can probably stop reading.
   
   If you do have old support library references, then you may need to also 
include the 
[cordova-plugin-androidx-adapter](https://www.npmjs.com/package/cordova-plugin-androidx-adapter)
 plugin to upgrade any other plugins that are still using the old support 
libraries. Mileage may vary.
   
   Let me know if this helps.


----------------------------------------------------------------
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:
[email protected]



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

Reply via email to