actionscript-3 - Actionscript 3.0 命名空间在应用程序描述符文件中无效
问题描述
我正在尝试制作一个 Android 应用程序。在我尝试实施广告之前,一切都运行良好。现在,当我尝试将我的游戏发布到我的手机时,它给了我错误消息“创建文件时出错。应用程序描述符文件中的命名空间无效”。我已经尝试过更改并在网上寻找了很长一段时间,但没有解决这个问题。
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<application xmlns="http://ns.adobe.com/air/application/20.0">
<id>keepmoving</id>
<versionNumber>1.0.2</versionNumber>
<versionLabel></versionLabel>
<filename>keep moving</filename>
<description/>
<!-- To localize the description, use the following format for the description element.<description><text xml:lang="en">English App description goes here</text><text xml:lang="fr">French App description goes here</text><text xml:lang="ja">Japanese App description goes here</text></description>-->
<name>keep moving</name>
<!-- To localize the name, use the following format for the name element.<name><text xml:lang="en">English App name goes here</text><text xml:lang="fr">French App name goes here</text><text xml:lang="ja">Japanese App name goes here</text></name>-->
<copyright/>
<initialWindow>
<content>keep%20moving.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>true</fullScreen>
<aspectRatio>portrait</aspectRatio>
<renderMode>direct</renderMode>
<autoOrients>false</autoOrients></initialWindow>
<icon/>
<customUpdateUI>false</customUpdateUI>
<allowBrowserInvocation>false</allowBrowserInvocation>
<android>
<manifestAdditions><![CDATA[
<manifest android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<application>
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" android:theme="@android:style/Theme.Translucent"/>
</application>
</manifest>
]]></manifestAdditions>
</android>
<extensions>
<extensionID>so.cuo.platform.admob</extensionID>
</extensions>
</application>
解决方案
我在使用 Adobe Air 24 时遇到了同样的问题。升级到 Adobe Air 31 为我解决了这个问题。
推荐阅读
- javascript - c3.js 如何读取最大和最小轴值?
- java - Java如何拆分字符串并删除其中的一部分?
- java - M如何将 sun.dc 包从 jdk 1.8 迁移到 openjdk11
- azure - 如何使用 Azure python sdk 查询服务原则详细信息
- python - Python TCP 套接字连接挂起接受
- machine-learning - 为什么词干提取比词形还原显示更好的结果?
- java - 咖啡因缓存 - 为数据库中无法访问的值放入缓存键?
- rust - 从应用程序中的其他位置调用“exit”时如何执行清理操作
- azure - 如何以编程方式将 DigiCert 作为证书颁发机构添加到 Azure Key Vault?
- node.js - AWS elasticsearch 服务:Curl http 命令工作正常,但不是 elasticsearch npm