Android/広告組込/Amoad
提供: 初心者エンジニアの簡易メモ
sdkダウンロード
https://github.com/amoad/amoad-android-sdk
reward確認
- サンプルプロジェクトを起動しinterstitialafioを動かす
- 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>
