android - ContextCompat.checkSelfPermission is undefined -


i have seen question asked multiple time on , went thru answers thoroughly however, still struggling resolve problem.

as per multiple answers, have ensured maxsdkversion in android manifest file 23(i kept minsdkversion 15). put targetsdk in project.properties 23. running project on android6 , have android-support-v4.jar included androidsdk/android-sdk-macosx/extras/android/support/v7/appcompat/libs/android-support-v4.jar.

in android sdk manager, under extras, have android support repository version 36(which believe latest) , using android-sdk-tools 22.6.2

can please guide why error still persist? how remove it?

it issue obsolete jar v7 appcompat. used latest jar android-support-v4.jar , worked charm!!


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -