Workaround for Android 6.0 Permissions

天涯浪子 提交于 2019-12-13 09:29:32

问题


Is there any way to get around the new Android 6.0 Permissions system if you need to build your App for Android 6.0 and use it on a 6.0 Device?

I ask because there are so many Apps in the App Store which are not asking for any permissions and that's kinda weird. For me that means there are two possibilities.

  1. They all are not compiling their apps for android 6.0
  2. They are somehow getting around the new permissions system using android 6.0

So is there a way around?


回答1:


Change your targetSDK to 22 will work on all device without permissions runtime, If your targetSDK is 23 than you have to set permission you can't overcome this.



来源:https://stackoverflow.com/questions/37525492/workaround-for-android-6-0-permissions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!