
这是我的清单:
<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 – 开发工具许可我没有设置所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)