App crashes with GooglePlayServices

Hi!

My app crashes when initializing googleplayservices:

апр. 22 06:26:31.243 m2 note: init googleplay network

апр. 22 06:26:31.251 m2 note: FATAL
апр. 22 06:26:31.264 EXCEPTION: main
m2 note: Process: ru.rbowent.alotofwordsgame, PID: 18587
m2 note: java.lang.IllegalStateException: The meta-data tag in your app’s AndroidManifest.xml does not have the right value. Expected 4242000 but found 9683000. You must have the following declaration within the <application> element: <meta-data android:name=“com.google.android.gms.version” android:value="@integer/google_play_services_version" />
апр. 22 06:26:31.265 m2 note:     at com.google.android.gms.common.GooglePlayServicesUtil.n(Unknown Source)
m2 note:     at com.google.android.gms.common.GooglePlayServicesUtil.isGooglePlayServicesAvailable(Unknown Source)
m2 note:     at CoronaProvider.gameNetwork.google.GameHelper.beginUserInitiatedSignIn(GameHelper.java:348)
m2 note:     at CoronaProvider.gameNetwork.google.LuaLoader$3.run(LuaLoader.java:192)
m2 note:     at android.os.Handler.handleCallback(Handler.java:815)
m2 note:     at android.os.Handler.dispatchMessage(Handler.java:104)
m2 note:     at android.os.Looper.loop(Looper.java:194)
m2 note:     at android.app.ActivityThread.main(ActivityThread.java:5691)
m2 note:     at java.lang.reflect.Method.invoke(Native Method)
m2 note:     at java.lang.reflect.Method.invoke(Method.java:372)
m2 note:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
m2 note:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
апр. 22 06:26:31.265 m2 note: Force finishing activity 1 ru.rbowent.alotofwordsgame/com.ansca.corona.CoronaActivity
апр. 22 06:26:31.525 m2 note: Scheduling restart of cr
апр. 22 06:26:31.525 ashed service ru.rbowent.alotofwordsgame/shared.google.play.services.base.PackageStateChangedService in 1000ms

It was Ok few days ago. What could it be?

Thanks.

Can you post your build.settings?

Thanks

Rob

settings = { orientation = { default = "portrait", content = "portrait", supported = { "portrait", }, }, plugins = { ["facebook"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs", }, ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, }, ["CoronaProvider.gameNetwork.google"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true } }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs" }, ["plugin.google.iap.v3"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, -- ["plugin.vk"] = {publisherId = "com.spiralcodestudio"}, ["plugin.notifications"] = { publisherId = "com.coronalabs" } }, iphone = { plist = { CFBundleLocalizations = {"ru"}, CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png" }, CFBundleDisplayName = "Многослов", CFBundleGetInfoString = "Rainbow Entertainment", -- LSApplicationCategoryType = "public.app-category.board-games", MinimumOSVersion="6.0.0", UIPrerenderedIcon = true, UIApplicationExitsOnSuspend = false, FacebookAppID = "0000000", UIAppFonts = { "Roboto-Bold.ttf", "Roboto-Italic.ttf", "Roboto-Light.ttf", "Roboto-Medium.ttf", "Roboto-Regular.ttf", "Nautilus.ttf" }, CFBundleURLTypes = { { -- CFBundleURLSchemes = {'fb000000','vk000000'} CFBundleURLSchemes = {'fb000000'} } }, ["URL types"] = { item = { ["URL Schemes"] = { ["Item 0"] = "fb0000000" }, }, }, NSAppTransportSecurity = { NSExceptionDomains = { ["dreamcraft-online.com"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true }, ["rbowent.ru"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true }, }, }, }, }, android = { permissions = { { name = ".permission.C2D\_MESSAGE", protectionLevel = "signature" }, }, usesPermissions = { "com.android.vending.BILLING", "com.android.vending.CHECK\_LICENSE", "android.permission.INTERNET", -- "android.permission.READ\_PHONE\_STATE", -- "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.RECEIVE\_BOOT\_COMPLETED", "com.google.android.c2dm.permission.RECEIVE", ".permission.C2D\_MESSAGE", }, -- intentFilters = -- { -- { -- actions = {'android.intent.action.VIEW'}, -- categories = { -- 'android.intent.category.DEFAULT', -- 'android.intent.category.BROWSABLE' -- }, -- data = {scheme = 'vk0000000'}, -- } -- }, googlePlayGamesAppId = "00000000000", -- Your Google Play Games App Id } }

At a minimum you need to remove;

 ["plugin.google.play.services"] = { publisherId = "com.coronalabs" },

You probably will need to update to the new GPGS plugin which should be mostly backwards compatible. 

Rob

Can you post your build.settings?

Thanks

Rob

settings = { orientation = { default = "portrait", content = "portrait", supported = { "portrait", }, }, plugins = { ["facebook"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs", }, ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, }, ["CoronaProvider.gameNetwork.google"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true } }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs" }, ["plugin.google.iap.v3"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, -- ["plugin.vk"] = {publisherId = "com.spiralcodestudio"}, ["plugin.notifications"] = { publisherId = "com.coronalabs" } }, iphone = { plist = { CFBundleLocalizations = {"ru"}, CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png" }, CFBundleDisplayName = "Многослов", CFBundleGetInfoString = "Rainbow Entertainment", -- LSApplicationCategoryType = "public.app-category.board-games", MinimumOSVersion="6.0.0", UIPrerenderedIcon = true, UIApplicationExitsOnSuspend = false, FacebookAppID = "0000000", UIAppFonts = { "Roboto-Bold.ttf", "Roboto-Italic.ttf", "Roboto-Light.ttf", "Roboto-Medium.ttf", "Roboto-Regular.ttf", "Nautilus.ttf" }, CFBundleURLTypes = { { -- CFBundleURLSchemes = {'fb000000','vk000000'} CFBundleURLSchemes = {'fb000000'} } }, ["URL types"] = { item = { ["URL Schemes"] = { ["Item 0"] = "fb0000000" }, }, }, NSAppTransportSecurity = { NSExceptionDomains = { ["dreamcraft-online.com"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true }, ["rbowent.ru"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true }, }, }, }, }, android = { permissions = { { name = ".permission.C2D\_MESSAGE", protectionLevel = "signature" }, }, usesPermissions = { "com.android.vending.BILLING", "com.android.vending.CHECK\_LICENSE", "android.permission.INTERNET", -- "android.permission.READ\_PHONE\_STATE", -- "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.RECEIVE\_BOOT\_COMPLETED", "com.google.android.c2dm.permission.RECEIVE", ".permission.C2D\_MESSAGE", }, -- intentFilters = -- { -- { -- actions = {'android.intent.action.VIEW'}, -- categories = { -- 'android.intent.category.DEFAULT', -- 'android.intent.category.BROWSABLE' -- }, -- data = {scheme = 'vk0000000'}, -- } -- }, googlePlayGamesAppId = "00000000000", -- Your Google Play Games App Id } }

At a minimum you need to remove;

 ["plugin.google.play.services"] = { publisherId = "com.coronalabs" },

You probably will need to update to the new GPGS plugin which should be mostly backwards compatible. 

Rob