2016年10月4日

Android Studio You can also reset/revoke a specific permissions using


Android Studio

You can also reset/revoke a specific permissions using

adb shell pm grant com.your.flashlight android.permission.CAMERA
adb shell pm revoke com.your.package android.permission.CAMERA

adb shell pm grant android.permission.CAMERA
adb shell pm reset-permissions

you should also add C:/android-sdk/platform-tools to you environment path

沒有留言:

張貼留言