Actionscript 3.0命名空间在应用程序描述符文件中无效

时间:2018-07-01 19:53:23

标签: actionscript-3 namespaces

我正在尝试制作一个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>

1 个答案:

答案 0 :(得分:0)

我在Adobe Air 24上遇到了同样的问题。升级到Adobe Air 31可以为我修复它。