I'm trying to test the new Google Maps support under Firebase, following this tutorial
https://www.b4x.com/android/forum/threads/integrating-firebase-services.67692/
As soon as I add this to the project Manifest file:
'************ Google Play Services Base ************
AddApplicationText(
<activity android:name="com.google.android.gms.common.api.GoogleApiActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:exported="false"/>
<meta-data
android:name="com.google.android.gms.version"
android:value="@Integer/google_play_services_version" />
)
'************ Google Play Services Base (end) ************
When compiling, I get:
AndroidManifest.xml:25: error: Error: No resource found that matches the given name (at 'value' with value '@Integer/google_play_services_version').
A few points that might help with diagnosis:
- I upgraded from B4A 5.5 to 6.0;
- I updated the Android SDK to the latest of everything;
- I ensured that "Android Support Repository" and "Google Repository" were both installed;
- I created a project using the Firebase console and set the app package name to be the same as the Firebase project;
- I installed the empty/dummy google-play-services.jar file mentioned in another thread (I couldn't find a real copy of this in the Android SDK).
I tried creating a new project from scratch and added the line in the Manifest there too - same error.
Any thoughts?
Thanks for your help!
https://www.b4x.com/android/forum/threads/integrating-firebase-services.67692/
As soon as I add this to the project Manifest file:
'************ Google Play Services Base ************
AddApplicationText(
<activity android:name="com.google.android.gms.common.api.GoogleApiActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:exported="false"/>
<meta-data
android:name="com.google.android.gms.version"
android:value="@Integer/google_play_services_version" />
)
'************ Google Play Services Base (end) ************
When compiling, I get:
AndroidManifest.xml:25: error: Error: No resource found that matches the given name (at 'value' with value '@Integer/google_play_services_version').
A few points that might help with diagnosis:
- I upgraded from B4A 5.5 to 6.0;
- I updated the Android SDK to the latest of everything;
- I ensured that "Android Support Repository" and "Google Repository" were both installed;
- I created a project using the Firebase console and set the app package name to be the same as the Firebase project;
- I installed the empty/dummy google-play-services.jar file mentioned in another thread (I couldn't find a real copy of this in the Android SDK).
I tried creating a new project from scratch and added the line in the Manifest there too - same error.
Any thoughts?
Thanks for your help!