问题描述
我在FlashBuilder 4.6的手机AIR项目(使用AIR 3.4),我有一个真正的问题发布一个APK。下面是从我的应用程序的XML部分:
I have an Mobile AIR project in FlashBuilder 4.6(Using AIR 3.4) and I am having a real problem publishing an APK. Here is the section from my APP XML:
<manifestAdditions><![CDATA[
<manifest android:installLocation="auto">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
</manifest>
]]></manifestAdditions>
由于某些原因,当我创建一个APK,上网权限正在被上涨的清单权限块的结束。需要注意的是在资产/ META-INF / AIR目录中的application.xml看起来还是正确的。
For some reason, when I create an APK, the INTERNET permission is being tacked on the end of the manifest permissions block. Note that the application.xml in the asset/META-INF/AIR folder still looks correct.
在任何地方我错了的想法?
Any ideas where I am going wrong?
推荐答案
有更多的搜索后,我发现我自己的答案:
After a lot more searching, I found my own answer:
请注意:当您捆绑运行时,ADT可在Internet和 BROADCAST_STICKY权限您的应用程序。这些权限 所需的AIR运行时。
BROADCAST_STICKY似乎不再是必需的,但显然用俘虏运行时,我们无法得到解决这个问题。
BROADCAST_STICKY seems to no longer be required, but apparently when using captive runtime we cannot get around this.
这篇关于FlashBuilder增加,即使它是不是在我的应用程序的XML构建APK当Internet的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!