facebook twitter hatena line email

Android/広告組込/Amoad

提供: 初心者エンジニアの簡易メモ
2018年9月27日 (木) 15:03時点におけるAdmin (トーク | 投稿記録)による版 (reward確認)

(差分) ←前の版 | 最新版 (差分) | 次の版→ (差分)
移動: 案内検索

sdkダウンロード

https://github.com/amoad/amoad-android-sdk

reward確認

  1. サンプルプロジェクトを起動しinterstitialafioを動かす
  2. sid入力欄にamoad指定のsidを入力する

You need to use a Theme.AppCompat theme (or descendant) with this activity.エラーが出る場合

@style/AppThemeをAndroidManifest.xmlのapplicationタグに追加する app/res/values/styles.xmlにAppThemeを追加

<application
        android:label="@string/app_name"
        android:allowBackup="true"
       android:icon="@mipmap/ic_launcher">

<application
        android:label="@string/app_name"
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:theme="@style/AppTheme"
        >

app/res/values/styles.xml

<resources>
    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>
    </style>
</resources>