安卓:新添加的权限背后库更新后,我的背 [英] Android: new permissions added behind my back after library updates

查看:159
本文介绍了安卓:新添加的权限背后库更新后,我的背的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我上传我的应用程序开发者控制台的新版本上传到Play商店,这与APK的分析弹出的对话框告诉我,从上一版本,我又增加了两个新的权限:

When I uploaded a new version of my app to the Developer Console for uploading to the Play Store, the dialog that pops up with an analysis of the apk told me that I had added two new permissions since the last version:

android.permission.READ_EXTERNAL_STORAGE maxSdkVersion=18
android.permission.WRITE_EXTERNAL_STORAGE

据我所知,我在我的code以添加这些权限做了什么;肯定是有什么在AndroidManifest.xml中。我没有兴趣或需要读取和写入到外部存储器。我已经更新的Andr​​oid Studio和各种所需的插件,因为我上次发布一个新版本(我通常这样做,我通知有更新的每一次)。

AFAIK I've done nothing in my code to add these permissions; certainly there is nothing in 'AndroidManifest.xml'. I have no interest or need to read and write to external storage. I have updated Android Studio and various required plugins since I last published a new version (I usually do this each time I'm notified that there are updates).

任何想法?

推荐答案

我觉得新的权限从图书馆出来,您正在使用。如果已经更新了Android Studio中的库可以变过。检查这篇文章

I think the new permissions came from your libraries, that you are using. If you have updated the Android Studio the libraries can changed too. Check this article.

根据文章的最后清单文件是从你自己的,并从图书馆的那些合并后,你可以在看到它的应用程序/编译/中间体/舱单/全/调试/ AndroidManifest.xml中

According to the article the final manifest file is merged from your own and from the libraries' ones, you can see it at app/build/intermediates/manifests/full/debug/AndroidManifest.xml.

这篇关于安卓:新添加的权限背后库更新后,我的背的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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