-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: “error: package android.support.v4.content does not exist” #2822
Comments
This is a problem on plugins not using old android support dependencies instead of AndroidX equivalent. |
Thank you so much . was getting error : error: package android.support.v4.content does not exist using jetify helped to solve . from jcesarmobile' s post --- >#2832 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. As workaround you can also patch the plugin using jetifier npm install jetifier
npx jetify
npx cap sync android |
Thank you so much. |
Thanks. This works. |
Thanks. This works just fine for me!!! |
Thanks!!!!! |
i'am still getting same error error: package android.support.v4.content does not exist |
\platforms\android\app\src\main\java\org\apache\cordova\camera\CordovaUri.java:25: error: package android.support.v4.content does not exist platforms\android\app\src\main\java\org\apache\cordova\camera\FileProvider.java:21: error: package android.support.v4.content does not exist platforms\android\app\src\main\java\org\apache\cordova\camera\CameraLauncher.java:303: error: cannot find symbol |
Bug Report
Capacitor Version
2.0.1
npx cap doctor
output:Affected Platform(s)
Current Behavior
error: package android.support.v4.content does not exist
Expected Behavior
https://ionicframework.com/docs/native/camera
Sample Code or Sample Application Repo
https://github.com/Hansel03/photoApp
Reproduction Steps
ionic build
ionic capacitor add android
ionic capacitor open android
Other Technical Details
npm --version
output: 6.13.4node --version
output: v12.16.1pod --version
output (iOS issues only): 1.9.1ionic/angular
5.0.0Android Studio
3.6.3Other Information
#1663
The text was updated successfully, but these errors were encountered: