diff --git a/site/docs-md/android/troubleshooting.md b/site/docs-md/android/troubleshooting.md index 16ad4ea715..b72e489309 100644 --- a/site/docs-md/android/troubleshooting.md +++ b/site/docs-md/android/troubleshooting.md @@ -39,6 +39,19 @@ That can be done easily from the File menu: ![Android Invalidate Caches](/assets/img/docs/android/invalidate-caches.png) +## Error: "package android.support.* does not exist" + +This error occurs when some Cordova or Capacitor plugin has old android support dependencies instead of using the new AndroidX equivalent. +You should report the issue in the plugin repository so the maintainers can update the plugin to use AndroidX dependencies. + +As workaround you can also patch the plugin using jetifier + +```bash +npm install jetifier +npx jetify +npx cap sync android +``` + ## Error: "Unable to load native-bridge.js. Capacitor will not function!" This error occurs when Capacitor's `native-bridge.js` file was not copied to the native project.