API23时权限不被许可

In Android 6.0 Marshmallow, application will not be granted any permission at installation time. Instead, application has to ask user for a permission one-by-one at runtime only if application target level is 23.

在Android 6的棉花糖,申请将不被授予任何许可,在安装时。相反,应用程序必须在运行时向用户请求一个权限,只有当应用程序目标级别为23时。

23降低为22后即可

posted @ 2016-09-16 15:16  newcaoguo  阅读(227)  评论(0编辑  收藏  举报