Thanks —
and —
After I added the Cranberrygame Admob plugin, I am unable to build my game at all! And strangely the XDK log doesnt mention anything about Admob. It says duplicate reference for "com.google.android.gms" , which when I googld I found it refers to "Google Play Services"
And notice in the below error log there are two google[lay references. Not sure if this is the issue. I had the same setup with official Admob plugin but never got any build error.
BTW I switched to cranberrygame plugin becuase on iOS when an Ad is clicked and user comes back, the game restarts! I was hoping this issue is not present in Cordova plugin
[quote:m8216155]
Building a Cordova 5.1.1 application.
Building with cordova-android 4.1.1.
The application name is "Last of the Survivors"
The package name is "com.gamessolidrock.lastofthesurvivors"
Preference android-signed set to false. Application will not be signed.
Using Crosswalk Embedded 15
Plugin "cordova-plugin-splashscreen" (2.1.0) installed.
Plugin "cordova-plugin-device" (1.0.1) installed.
Plugin "cordova-plugin-device-motion" (1.1.1) installed.
Plugin "cordova-plugin-payment-iap" (2.0.39) installed.
Plugin "cordova-plugin-ad-adcolony" (1.0.40) installed.
Plugin "cordova-plugin-ad-chartboost" (1.0.75) installed.
Plugin "cordova-plugin-inappbrowser" (1.0.1) installed.
Plugin "android.support.v4" (1.0.0) installed.
Plugin "com.google.playservices" (21.0.0) installed.
Plugin "cordova-plugin-game" (1.0.105) installed.
Plugin "cordova-plugin-extras-google-play-services" (1.0.3) installed.
Plugin "cordova-plugin-ad-admobsdk" (1.0.31) installed.
Plugin "cordova-plugin-ad-admob" (1.0.106) installed.
Plugin "cordova-plugin-legacy-whitelist" (1.1.0) installed.
Plugin "cordova-plugin-crosswalk-webview" (1.4.0) installed.
App name updated to [Last of the Survivors]
Updated "minSdkVersion" with "16"
Updated "targetSdkVersion" with "19"
Updated "installLocation" to "auto"
Added "screenOrientation" to "landscape"
Updated "versionCode" to "20050"
Updated "versionName" to "0.5"
Added "debuggable" to "false"
Error: A build error occurred. Check the build log.