Skip to content
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

error: package android.provider does not exist import static android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS; #25

Closed
naqeeb-klabs opened this issue Sep 27, 2022 · 3 comments

Comments

@naqeeb-klabs
Copy link

Screenshot 2022-09-27 at 7 36 31 PM

Getting this error while i am building android app. It is working fine for IOs.
my app is on Capacitor 3.

@RaphaelWoude
Copy link
Owner

Hello. Can you try rerunning Gradle and see if that fixes it?

@naqeeb-klabs
Copy link
Author

i tried all the things but nothing worked then i updated the Capacitor from 3 to 4 then re add platform, then it worked.

@RaphaelWoude
Copy link
Owner

I have decided to update the README for more information about which versions go with what capacitor version.
Capacitor 4: Use v4.0.0 or higher.
Capacitor 3: Use v0.2.1 or lower.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants