Android Question gmap mapfragment ready problem

hcm

Member
Licensed User
Longtime User
Hi,
since a few hours I try to find out what is wrong with the mapfragment ready event in this simple code:

Activity.RemoveAllViews
Log(CheckForGooglePlayServices)

Activity.LoadLayout("Gmap")
Wait For MapFragment1_Ready

It runs without a problem on a S10e and a S21. But on a Xperia X compact running Android Version 8.0.0
it never gets out of the Wait loop but writes in the mapfragment1 screen: "App has problems with Google-Play-Services.
Please try again" (translated from German). The Debug window stays empty when running in Debug mode.
The standard Google Maps app runs normal on the phone.

Does anyone have an idea what the Google Play Service problem could be?

Thanks a lot,
Christoph
 

DonManfred

Expert
Licensed User
Longtime User
Upload a small project showing the problem.
We can not help with the infos you provided.
 
Upvote 0

hcm

Member
Licensed User
Longtime User
With the current API key also the below gmap example didn't for the Xperia

It worked when I created a new API key though- I have no idea why only the Xperia had this problem and not the other phones....
 
Upvote 0

TILogistic

Expert
Licensed User
Longtime User
see:
 
Upvote 0
Top