android – 开发工具许可我没有设置

android – 开发工具许可我没有设置,第1张

概述我一直在创建一个 Android应用程序,当我导出(和签名)它,它总是添加一个“开发工具(测试访问受保护的存储”权限,我从来没有设置. 这是我的清单: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.tdr" android:versionCode=" 我一直在创建一个 Android应用程序,当我导出(和签名)它,它总是添加一个“开发工具(测试访问受保护的存储”权限,我从来没有设置.
这是我的清单:
<manifest xmlns:androID="http://schemas.androID.com/apk/res/androID"    package="com.example.tdr"    androID:versionCode="1"    androID:versionname="1.0" >    <uses-sdk        androID:minSdkVersion="8"        androID:targetSdkVersion="15" />    <uses-permission androID:name="androID.permission.WRITE_EXTERNAL_STORAGE" />    <application        androID:icon="@drawable/ic_launcher"        androID:label="@string/app_name"        androID:theme="@style/Apptheme">        <activity            androID:name=".MainActivity"            androID:label="@string/Title_activity_main" >            <intent-filter>                <action androID:name="androID.intent.action.MAIN" />                <category androID:name="androID.intent.category.LAUNCHER" />            </intent-filter>        </activity>        <activity            androID:name="Escriure"            androID:enabled="true" >        </activity>        <activity androID:enabled="true" androID:name="Llegir"></activity>    </application></manifest>

我需要从外部存储器写入和读取文件,但不要使用(¿?)开发工具.哪里有问题?谢谢!

解决方法 AndroID已经添加了一个需要为Jelly Bean添加的新权限.请阅读下面的 article,以便快速参考:

Now,in Jelly Bean,we’re getting the “read external storage”
permission. According to Google:

READ_EXTERNAL_STORAGE

ProvIDes protected read access to external storage. In AndroID 4.1 by default all applications still have read access. This will be changed in a future release to require that applications explicitly request read access using this permission. If your application already requests write access,it will automatically get read access as well. There is a new developer option to turn on read access restriction,for developers to test their applications against how AndroID will behave in the future. So,when you hop into the development options on your Jelly Bean device,don’t be surprised to see this new option. We won’t see the permission in AndroID 4.1.0,but most likely in 4.1.1,and its intention is to keep your device more secure.

总结

以上是内存溢出为你收集整理的android – 开发工具许可我没有设置全部内容,希望文章能够帮你解决android – 开发工具许可我没有设置所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1132217.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-30
下一篇2022-05-30

发表评论

登录后才能评论

评论列表(0条)

    保存