lemonisdead Well-Known Member Licensed User Longtime User Jun 9, 2016 #1 Hello, I don't manage to make it work. I have added the Manifest entry but where to point to the AdditionalRes ? I have added this to the project to replace the previous #29 version Code: #AdditionalRes: C:\AndroidSDK\extras\google\m2repository\com\google\android\gms\play-services, com.google.gms I have tried to copy everything in the Project's folder too Errors said: invalid resource directory name: c:\androidsdk\extras\google\m2repository\com\google\android\gms\play-services 3.1.36 invalid resource directory name: c:\androidsdk\extras\google\m2repository\com\google\android\gms\play-services 3.2.25invalid resource directory name: c:\androidsdk\extras\google\m2repository\com\google\android\gms\play-services 3.1.59 ... Click to expand... There is something I don't get, of course. Perhaps do you have understood ? Many thanks PS : I am only wanting to make FusedLocation working. Last edited: Jun 9, 2016
Hello, I don't manage to make it work. I have added the Manifest entry but where to point to the AdditionalRes ? I have added this to the project to replace the previous #29 version Code: #AdditionalRes: C:\AndroidSDK\extras\google\m2repository\com\google\android\gms\play-services, com.google.gms I have tried to copy everything in the Project's folder too Errors said: invalid resource directory name: c:\androidsdk\extras\google\m2repository\com\google\android\gms\play-services 3.1.36 invalid resource directory name: c:\androidsdk\extras\google\m2repository\com\google\android\gms\play-services 3.2.25invalid resource directory name: c:\androidsdk\extras\google\m2repository\com\google\android\gms\play-services 3.1.59 ... Click to expand... There is something I don't get, of course. Perhaps do you have understood ? Many thanks PS : I am only wanting to make FusedLocation working.
lemonisdead Well-Known Member Licensed User Longtime User Jun 9, 2016 #2 OK restarting from zero and adding only the Location directory Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 10, 2016 #3 1. Remove the #AdditionalRes line. 2. Add this line: Code: #AdditionalJar: com.google.android.gms:play-services-location Add Google Play Services Base snippet: https://www.b4x.com/android/forum/threads/integrating-firebase-services.67692/ Upvote 0
1. Remove the #AdditionalRes line. 2. Add this line: Code: #AdditionalJar: com.google.android.gms:play-services-location Add Google Play Services Base snippet: https://www.b4x.com/android/forum/threads/integrating-firebase-services.67692/
fbritop Well-Known Member Licensed User Longtime User Jul 6, 2016 #4 I do get an error that says: "Maven artifact not found: com.google.android.gms/play-services-location" -Using B4A 6 -Project Attr: #AdditionalJar: com.google.android.gmslay-services-location -Using API #21 Manifiest contains: AddApplicationText(<meta-data android:name="com.google.android.gms.version" android:value="@Integer/google_play_services_version" />) Not sure where to look for this error? Upvote 0
I do get an error that says: "Maven artifact not found: com.google.android.gms/play-services-location" -Using B4A 6 -Project Attr: #AdditionalJar: com.google.android.gmslay-services-location -Using API #21 Manifiest contains: AddApplicationText(<meta-data android:name="com.google.android.gms.version" android:value="@Integer/google_play_services_version" />) Not sure where to look for this error?
fbritop Well-Known Member Licensed User Longtime User Jul 6, 2016 #5 Found the answer at: https://www.b4x.com/android/forum/threads/integrating-firebase-services.67692/ Upvote 0