Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

"MyGame" wont run without Google Play Service
Started by Gottina Sep 22 2019 11:06 AM

- - - - -
5 replies to this topic
gps google play service google play service
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Gottina

[GLOBAL: userInfoPane.html]
Gottina
  • Observer

  • 9 posts
  • Corona SDK

settings =
{
	orientation =
	{
		default = "portrait",
		supported = {"portrait", "portraitUpsideDown"},
	},

	android =
	{	
		usesPermissions =
		{
			"android.permission.INTERNET",
			"android.permission.WRITE_EXTERNAL_STORAGE",
			"android.permission.GET_ACCOUNTS",
			"android.permission.ACCESS_NETWORK_STATE",
			"android.permission.RECEIVE_BOOT_COMPLETED",
		},
        applicationChildElements =
        {
            [[
                <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID"
                    android:value="ca-app-pub-xxxx~xxxx"/>
            ]],
        },
	},
	plugins =
	{
        ["plugin.pasteboard"] =
        {
            publisherId = "com.coronalabs",
        },
   
        ["plugin.notifications.v2"] =
        {
            publisherId = "com.coronalabs",
        },		
        ['plugin.appodeal.beta.base'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.AdColony'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.AmazonAds'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.AppLovin'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.Appnext'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.Chartboost'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.FacebookAudience'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.Flurry'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.GoogleAdMob'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.InMobi'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.IronSource'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.Mobvista'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.MyTarget'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.Ogury'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.StartApp'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.Tapjoy'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.TwitterMoPub'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.Unity'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.Vungle'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.Yandex'] = { publisherId = 'com.coronalabs' },
	},
	excludeFiles =
	{
		all = { "Icon.png", "Icon-*dpi.png", "Images.xcassets", },
		android = { "LaunchScreen.storyboardc", },
	},
}

Here is my build.setting. This problem appeared when I changed the sprites for the game. I can’t understand what could be the error. Yesterday I did the assembly, build.setting did not change, and everything worked !!!



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,683 posts
  • Enterprise

Can you provide a better description of what you mean by:

 

""MyGame" wont run without Google Play Service"

 

Are you getting an error? in the simulator? on the device? During build? From Google Play's developer console?

What version of Corona are you running?

 

Rob



[TOPIC: post.html]
#3

Gottina

[GLOBAL: userInfoPane.html]
Gottina
  • Observer

  • 9 posts
  • Corona SDK

Can you provide a better description of what you mean by:

 

""MyGame" wont run without Google Play Service"

 

Are you getting an error? in the simulator? on the device? During build? From Google Play's developer console?

What version of Corona are you running?

 

Rob

I not have a problem in simulator.When i testing a build of my game in emulator of Android , my game write ""MyGame" wont run without Google Play Service" and show the button "exit".I tested 2 day ago build without change in build.setting and my game has work in emulator

 

Corona Version :2019.3528



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,683 posts
  • Enterprise

It sounds like your emulator isn't setup with Google Play Services. See these two links for possible resolutions:

 

https://android.stackexchange.com/questions/172874/how-to-resolve-get-google-play-services-error

https://stackoverflow.com/questions/23265214/android-emulator-this-app-wont-run-without-google-play-services

 

I found these with a simple internet search on Google searching for "won't run without Google Play Service"

 

Perhaps an Android Studio update or an update to your emulator software changed something.

 

Rob



[TOPIC: post.html]
#5

Gottina

[GLOBAL: userInfoPane.html]
Gottina
  • Observer

  • 9 posts
  • Corona SDK

It sounds like your emulator isn't setup with Google Play Services. See these two links for possible resolutions:

 

https://android.stackexchange.com/questions/172874/how-to-resolve-get-google-play-services-error

https://stackoverflow.com/questions/23265214/android-emulator-this-app-wont-run-without-google-play-services

 

I found these with a simple internet search on Google searching for "won't run without Google Play Service"

 

Perhaps an Android Studio update or an update to your emulator software changed something.

 

Rob

Thanks for link but it don't helped me in that problem.
I create new project and build him.Success
When i copy build.setting(watch in top) in blank project , i take the annoying message from emulator {"MyGame" wont run without Google Play Service}
What of these plugins can be reason for this annoying message

 

I am confused



[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,683 posts
  • Enterprise

The Appodeal plugin, for certain requires devices to have Google Play Services installed on the device.  Notifications V2 is based around Google's Firebase Cloud Messaging (FCM) also is dependent on Google Play Services being installed.

 

Rob




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: gps, google, play, service, google play service