Android 6.0权限的解决方法 [英] Workaround for Android 6.0 Permissions

查看:103
本文介绍了Android 6.0权限的解决方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果您需要构建适用于Android 6.0的应用并在6.0设备上使用它,是否有任何方法可以绕过新的Android 6.0权限系统?

我问,因为App Store中有很多应用程序不要求任何权限,这有点奇怪.对我来说,这意味着两种可能性.

  1. 他们都没有为Android 6.0编译应用程序
  2. 他们正在以某种方式绕过使用android 6.0的新权限系统

那么有办法吗?

解决方案

将targetSDK更改为22即可在没有权限运行时的所有设备上运行.如果targetSDK为23,而必须设置权限,则无法克服./p>

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?

解决方案

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.

这篇关于Android 6.0权限的解决方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆