Android Question com.google.android.gms is missing

Indy

Active Member
Licensed User
Longtime User
Hi All,

Back in 2016 I used the following line in a Google Maps project;

B4X:
#AdditionalRes: E:\!Development\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms

Along with this I had some lines in the Manifest file and everything worked perfectly.

Fast forward and I've had to revisit this project to make some changes and unfortunately the code is not compiling. TBH, I didn't think it would after 5 years and many B4X versions later. Basically the error I'm getting is relating to the path of the com.google.android.gms file, which obviously no longer exists.

B4X:
B4A Version: 10.0
Java Version: 8
Parsing code.    (0.04s)
Building folders structure.    (0.01s)
Compiling code.    (0.05s)
Compiling layouts code.    (0.00s)
Organizing libraries.    (0.00s)
    (Android Support Library)
Generating R file.    Error
ERROR: resource directory 'e:\!development\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\res' does not exist

Is there a quick fix for this as I don't really want to have to restart the project?

Thanks
 

DonManfred

Expert
Licensed User
Longtime User
Last edited:
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Android Support Library
THIS is the problem! Android Support is deprecated as has been replaced with AndroidX SDK in 2019 (i think)

Follow the installation isntructions carefully. Setup a COMPLETE NEW SDK.
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…