Android/広告組込/Vungle
提供: 初心者エンジニアの簡易メモ
vungle4系だと以下が必要
vungle-publisher-adaptive-id-4.0.3.jar dagger-2.7.jar javax.inject-1.jar
参考:https://support.aerserv.com/hc/en-us/articles/202714170-How-to-Set-Up-Vungle-as-an-Ad-Source
vungle5や6系だと以下が必要
compile files('libs/vungle-android-sdk-6.2.15.jar') // Required Third-party Dependencies compile files('libs/android-job-1.2.0.jar') compile files('libs/cat-1.0.5.jar') compile files('libs/converter-gson-2.2.0.jar') compile files('libs/fetch-1.1.5.jar') compile files('libs/gson-2.7.jar') compile files('libs/logging-interceptor-3.7.0.jar') compile files('libs/okhttp-3.7.0.jar') compile files('libs/okio-1.12.0.jar') compile files('libs/retrofit-2.2.0.jar') compile files('libs/VNG-moat-mobile-app-kit-2.2.0.jar')
vungle6.8系だと以下が必要
// JAR Integration implementation files('libs/vungle-android-sdk-6.8.0.jar') implementation files('libs/gson-2.8.6.jar') implementation files('libs/okhttp-3.12.12.jar') implementation files('libs/okio-1.15.0.jar') implementation files('libs/androidx-vng-moat-mobile-app-kit-2.6.3.jar')
tools:replace="android:enabled"の"tools"がバインドされていません。エラー
AndroiManifest.xmlに以下を追加
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="jp.co.example.ccsamplerewardvideo" android:installLocation="auto">
↓
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="jp.co.example.ccsamplerewardvideo" android:installLocation="auto">