RaphaelWoude/capacitor-native-settings

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

Closed this issue · 3 comments

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.

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

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

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.