我收到错误:无法解析应用程序描述符
当尝试编译到 air 4.0 时 :( 有什么想法吗?
我能够在 Flash CS5.5 中编译,但在切换到 cs6.0 后我遇到了问题。
我也在尝试使用 admob 广告,如底部所示。这也可能是错误的来源。这快把我逼疯了,将近 27 个小时都没有解决。
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<application xmlns="http://ns.adobe.com/air/application/4.0">
<id>HappyCutePuppy</id>
<versionNumber>1.0.8</versionNumber>
<versionLabel>1</versionLabel>
<filename>Happy Cute Puppy</filename>
<description> <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>Happy Cute Puppy</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> <copyright/>
<initialWindow>
<content>HappyCutePuppy.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>true</fullScreen>
<aspectRatio>landscape</aspectRatio>
<renderMode>cpu</renderMode>
<autoOrients>false</autoOrients>
</initialWindow>
<icon>
<image36x36>icons/36.png</image36x36>
<image48x48>icons/48.png</image48x48>
<image72x72>icons/72.png</image72x72>
</icon>
<customUpdateUI>false</customUpdateUI>
<allowBrowserInvocation>false</allowBrowserInvocation>
<manifest android:installLocation="auto">
<uses-sdk android:targetSdkVersion="11"/>
<uses-sdk android:minSdkVersion="8"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application>
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" android:name="com.google.ads.AdActivity"/>
</application>
</manifest>
<android>
<manifestAdditions>
<![CDATA[<manifest>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
</manifest>]]>
</manifestAdditions>
</android>
<extensions>
<extensionID>so.cuo.platform.admob</extensionID>
</extensions>
</application>
最佳答案
当查看 http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7f84.html 时他们声明 android 部分如下:
<android>
<colorDepth>...</colorDepth>
<manifestAdditions
<manifest>...</manifest>
]]>
</manifestAdditions
</android>
您的 list 定义在 android 标签之外。
关于android - 无法解析应用程序描述符 AIR,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21358157/