Android Question Google Play Services v30 upgrade problems

Andrew (Digitwell)

Well-Known Member
Licensed User
Longtime User
I upgraded to Google Play Services v30 and my application which uses Google Maps no longer compiled.
https://stackoverflow.com/questions...e-play-services-libproject-folder-after-updat
The error seemed to suggest that the play services res file was missing.

A hunt around online and I found this: https://stackoverflow.com/questions...e-play-services-libproject-folder-after-updat

It seems that the large Google play Services jar file has been split into may smaller aar files.

The simplest solution was to reinstall v29 of the Play services library which can be found here:

http://www.smorgasbork.com/2015/01/05/google-play-services-sdk-version-history

I installed it to a parallel path to the SDK directory, called OLDSDK as google warns that you should not alter the contents of this directory.

So in my code it is:
B4X:
'Not working with Play Services - V30
'#AdditionalRes: $AndroidSDK$\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms
' Installed V29 in oldSdk 
#AdditionalRes: $AndroidSDK$\..\oldsdk\extras\google\google-play-services\libproject\google-play-services_lib\res, com.google.android.gms

This works fine.

Will V6.0 of B4A support the new Google Play Services structure?

Cheers

Andrew
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top