I tried updating my game to latest Appodeal plugin and after build is completed and installed on my phone, the game starts but then crash with this error captured in log:
--------- beginning of crash 09-24 09:57:18.324 15482 15482 E AndroidRuntime: FATAL EXCEPTION: main 09-24 09:57:18.324 15482 15482 E AndroidRuntime: Process: com.gamers.tetrispuzzle, PID: 15482 09-24 09:57:18.324 15482 15482 E AndroidRuntime: java.lang.ClassCastException: com.google.android.gms.internal.dw$g cannot be cast to com.google.android.gms.common.GooglePlayServicesClient$OnConnectionFailedListener 09-24 09:57:18.324 15482 15482 E AndroidRuntime: at com.google.android.gms.internal.dx.a(Unknown Source) 09-24 09:57:18.324 15482 15482 E AndroidRuntime: at com.google.android.gms.internal.dw$h.b(Unknown Source) 09-24 09:57:18.324 15482 15482 E AndroidRuntime: at com.google.android.gms.internal.dw$h.b(Unknown Source) 09-24 09:57:18.324 15482 15482 E AndroidRuntime: at com.google.android.gms.internal.dw$b.bR(Unknown Source) 09-24 09:57:18.324 15482 15482 E AndroidRuntime: at com.google.android.gms.internal.dw$a.handleMessage(Unknown Source) 09-24 09:57:18.324 15482 15482 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 09-24 09:57:18.324 15482 15482 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154) 09-24 09:57:18.324 15482 15482 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6682) 09-24 09:57:18.324 15482 15482 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 09-24 09:57:18.324 15482 15482 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520) 09-24 09:57:18.324 15482 15482 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
Please can anyone advise on what could be causing this. Thanks
build.settings [Updated]
settings = { plugins = { -- Base ['plugin.appodeal.base'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.GoogleAdMob'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.StartApp'] = { publisherId = 'com.coronalabs' }, -- Banner ['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.FacebookAudience'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Flurry'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.InMobi'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.MyTarget'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Yandex'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AmazonAds'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.TwitterMoPub'] = { publisherId = 'com.coronalabs' }, -- Interstitial ['plugin.appodeal.AdColony'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Chartboost'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.FacebookAudience'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Flurry'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.InMobi'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.IronSource'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.Mobvista'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.MyTarget'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.StartApp'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Ogury'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AmazonAds'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.TwitterMoPub'] = { publisherId = 'com.coronalabs' }, -- Rewarded Video ['plugin.appodeal.AdColony'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Chartboost'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.FacebookAudience'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Flurry'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.InMobi'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.IronSource'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.Mobvista'] = { publisherId = 'com.coronalabs' }, --['plugin.appodeal.MyTarget'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.StartApp'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Unity'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Vungle'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Tapjoy'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.TwitterMoPub'] = { publisherId = 'com.coronalabs' }, -- Others ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.native.popup.activity"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, }, ["plugin.google.iap.v3"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, -- ["CoronaProvider.gameNetwork.google"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true }, }, -- ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, ["plugin.gpgs"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, }, }, orientation = { default = "portrait", --landscapeRight supported = { "portrait", } }, iphone = { xcassets = "Images.xcassets", plist = { UIStatusBarHidden = true, }, }, android = { googlePlayGamesAppId = "xxxxxxxx", --insert your app id number for google game services usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.READ\_PHONE\_STATE", "com.android.vending.BILLING", }, applicationChildElements = { [[\<meta-data android:name="com.google.android.gms.ads.APPLICATION\_ID" android:value="[ca-app-pub-xxxxxxx]"/\> -- replace with your app id. See: https://goo.gl/fQ2neu ]], }, }, }