0

Flash CC で作成した Android アプリに revmob を追加しようとしています。追加する方法については、ステップバイステップのガイドに従っています。 http://sdk.revmobmobileadnetwork.com/air.html

広告を呼び出すために使用する別のアクション スクリプト ファイルがあります。しかし、xml ファイルを正しく取得するのに問題があります。彼らの活動を追加しようとするたびに。無効な要素を取得するか、アプリケーション記述子が見つかりません。

   <?xml version="1.0" encoding="utf-8" standalone="no" ?>
<!-- 
    Usage:

    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>

    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>
-->
<application xmlns="http://ns.adobe.com/air/application/13.0">


  <id>KatanaRun</id>
  <versionNumber>1.7.2</versionNumber>
  <versionLabel>1.7</versionLabel>
  <filename>Katana Run</filename>
  <description/>
  <name>Katana Run</name>
  <copyright/>
  <initialWindow>
    <content>KatanaRun3.swf</content>
    <systemChrome>standard</systemChrome>
    <transparent>false</transparent>
    <visible>true</visible>
    <fullScreen>true</fullScreen>
    <aspectRatio>landscape</aspectRatio>
    <renderMode>gpu</renderMode>
    <autoOrients>false</autoOrients></initialWindow>
  <icon>
    <image36x36>KatanaRunImages/36x36IconBURNED.png</image36x36>
    <image48x48>KatanaRunImages/48x48IconBURNED.png</image48x48>
    <image72x72>KatanaRunImages/72x72IconBURNED.png</image72x72>
    <image96x96>KatanaRunImages/96x96IconBURNED.png</image96x96>
  </icon>
  <customUpdateUI>false</customUpdateUI>
  <allowBrowserInvocation>false</allowBrowserInvocation>





 <android>

    <manifestAdditions><![CDATA[<manifest>

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
</manifest>]]></manifestAdditions>


  </android>

  <extensions>
    <extensionID>com.revmob.airextension</extensionID>
  </extensions>
</application>

これは、xml ファイルの現在のコードです。これらの行を追加する場所を見つけるのに助けが必要です。少なくとも、誰かが私が間違っていることを教えてくれるのを手伝ってくれれば、それがうまくいかないことだと確信しています。

<manifestAdditions>
    <![CDATA[
       <manifest android:installLocation='auto'>
        <uses-permission android:name="android.permission.INTERNET"/>
          <application android:enabled="true">
             <activity android:name="com.revmob.ads.fullscreen.FullscreenActivity"
                   android:configChanges="keyboardHidden|orientation">
            </activity>
        </application>
      </manifest>
    ]]>
</manifestAdditions>






<application>
    <activity android:name="com.revmob.ads.fullscreen.FullscreenActivity"
              android:theme="@android:style/Theme.Translucent"
              android:configChanges="keyboardHidden|orientation">
    </activity>
</application>
4

1 に答える 1