Closed MarsupiL closed 4 years ago
Capacitor 2 uses AndroidX, cordova plugins that use android support libraries need to be updated to use the AndroidX equivalent. You can try using jetifier to patch the plugins.
Damn, I thought Capacitor 2 removed the need for jetifier, my bad. Thanks a lot @jcesarmobile
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
I'm running into build failures recently. I tried using local gradle 6.3 and 5.6.2, Android Studio 3.6.2 and 3.6.1, Capacitor 2.0.0 and 2.0.1, invalidated caches, cleaned .idea and .iml under android platform, re-sync'd project with gradle files... not sure where else to look.
Capacitor Version
npx cap doctor
output:Affected Platform(s)
Current Behavior
Failure to build on Android. Several errors related to capacitor-cordova-android-plugins.
Other Technical Details
npm --version
output: 6.14.4node --version
output: v10.15.1 Android Studio version: 3.6.2Other Information
Build output: