Android Question Google maps - Manifest Error

atiaust

Active Member
Licensed User
Longtime User
Hi all,

I have been trying for days to get google maps working with B4A V6.30.

I have followed all the tutorials that I can find but still no joy.

The latest error is:
AndroidManifest.xml:27: error: Error parsing XML: not well-formed (invalid token)

I guess this is to do with the manifest changes I made. I haven't attempted to change the manifest before and am unsure if this is correct.

B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="19"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>
<meta-data
    android:name="com.google.android.geo.API_KEY"
    android:value="AIzaSyDlvxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"/>   
<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" />   
    )
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.

Any help gratefully appreciated.
 
Top