facebook twitter hatena line google mixi email

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') 

公式:https://support.vungle.com/hc/en-us/articles/360002900252-Migrating-the-Vungle-Android-SDK-from-v-5-to-v-6

tools:replace="android:enabled"の"tools"がバインドされていません。エラー

AndroiManifest.xmlに以下を追加

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
   package="jp.co.geniee.ccgnssamplerewardvideo"
   android:installLocation="auto">

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
   xmlns:tools="http://schemas.android.com/tools"
   package="jp.co.geniee.ccgnssamplerewardvideo"
   android:installLocation="auto">

参考:https://qiita.com/MARQUE/items/857c202165d7e2b482ea