I Indy Active Member Licensed User Longtime User Mar 5, 2021 #1 Hi All, Back in 2016 I used the following line in a Google Maps project; Code: #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. Code: 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
Hi All, Back in 2016 I used the following line in a Google Maps project; Code: #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. Code: 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 Mar 5, 2021 #2 Indy said: Back in 2016 I used the following line in a Google Maps project Click to expand... It has changed YEARS ago. It is NOT NEEDED any longer. Follow the most up to date Google Maps Tutorial https://www.b4x.com/android/forum/threads/google-maps.63930/ Last edited: Mar 5, 2021 Upvote 0
Indy said: Back in 2016 I used the following line in a Google Maps project Click to expand... It has changed YEARS ago. It is NOT NEEDED any longer. Follow the most up to date Google Maps Tutorial https://www.b4x.com/android/forum/threads/google-maps.63930/
DonManfred Expert Licensed User Longtime User Mar 5, 2021 #3 Indy said: Android Support Library Click to expand... 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. B4A – The simple way to develop native Android apps B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others. www.b4x.com Last edited: Mar 5, 2021 Upvote 0
Indy said: Android Support Library Click to expand... 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. B4A – The simple way to develop native Android apps B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others. www.b4x.com
I Indy Active Member Licensed User Longtime User Mar 5, 2021 #4 DonManfred said: It has changed YEARS ago. It is NOT NEEDED any longer. Follow the most up to date Google Maps Tutorial https://www.b4x.com/android/forum/threads/google-maps.63930/ Click to expand... Thank you very much. Hadn't realised how far behind I was with mapping. Upvote 0
DonManfred said: It has changed YEARS ago. It is NOT NEEDED any longer. Follow the most up to date Google Maps Tutorial https://www.b4x.com/android/forum/threads/google-maps.63930/ Click to expand... Thank you very much. Hadn't realised how far behind I was with mapping.