Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve "App is having trouble with google play services. please try again."

I have been making a project in react-native for about 4 months now using "react-native": "^0.57.4". It consists of a map-view which I am rendering/modifying/developing using "react-native-maps": "^0.22.1".

Suddenly I have this error now- "App" is having trouble with google play services. Please try again.

The above error shows up where the map should be. The map component is grey and with the "App" is having trouble with google play services. Please try again. message written on it.

I tried running it on an actual device and it runs perfectly fine. So that means its an emulator issue. Can anyone please share any insights or solution as to how to fix this on the emulator?

I am using Nexus 5P & 6P with android 9.0 *86.

like image 495
Purnima Naik Avatar asked Feb 08 '19 16:02

Purnima Naik


People also ask

Why does Google play keep saying try again?

You are either signed in with multiple accounts, and one of those is causing the error. Or, you recently changed the password to your Google account and need to relogin with the new credentials. The Play Store error is also caused due to data storage and cache issues on your Android device.

When I try to update Google Play Services it says try again?

Clear Cache and Data All you need to do is a clear the cache for Play Services and Play Store. If the problem continues, then try clearing data for them as well.

How do you fix Get Google Play Services?

Clear Cache and Data This fix will also be useful when troubleshooting other apps. Open Settings on your Android phone. Tap on “Apps” and “Google Play Services” under the “All apps” section. Select “Storage,” then press the “Clear cache” button followed by the “Clear data” or “Clear storage” button.


2 Answers

I was having the same problem today, the latest version of the com.google.android.gms.play-services-maps is the issue, downgrading to 16.0.0 fixed it.

Inside the app/build.gradle

dependencies {
   ...
 compile "com.google.android.gms:play-services-base:+" <---Remove this
 compile "com.google.android.gms:play-services-maps:+" <---Remove this
 compile "com.google.android.gms:play-services-base:16.0.1" <---Add this
 compile "com.google.android.gms:play-services-maps:16.0.0" <---Add this
}

hope it helps.

like image 156
Murat Serdar Akkuş Avatar answered Sep 28 '22 18:09

Murat Serdar Akkuş


Sometimes the solution might be upgrading the google play services, if you are using "react-native": "^0.59.8" and "react-native-maps": "^0.24.1".

Go to

Settings --> Android SDK --> SDK Tools(tab) --> Android SDK Build-Tools

and apply available updates. Refer this for further details on how to upgrade google play services.

like image 22
Muaz Avatar answered Sep 28 '22 18:09

Muaz