New answers tagged

-1

If you are using Marshmallow, make sure that you have requested the access: /** * Permission check for Marshmallow */ public void checkMallowPermissions() { if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M && ContextCompat.checkSelfPermission( getApplicationContext(), ...


0

Figured it out - seems like you just can't change permissions for files on sdcard. Moved it to data/local and chmod worked like a charm.


0

Run your application Click Android Icon >> Screen Capture Icon from android studio Save Tutorial: How to take screenshot from android studio



Top 50 recent answers are included