I am not able call KitKat class like when I am going to call Intent.ACTION_OPEN_DOCUMENT
. I am getting a error
ACTION_OPEN_DOCUMENT cannot be resolved or is not a field
and for takePersistableUriPermission(Uri, int)
The method takePersistableUriPermission(Uri, int) is
undefined for the type ContentResolver
Double check that your project target build is using Android 4.4 (SDK 19), in Eclipse this can be done by:
Right clicking the project and click "Properties". Then select "Android" from the tree on the left. You can then select the target version on the right.
If you don't see 4.4 as an option, open up the SDK manager and make sure you have installed Android 4.4 KitKat
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With