Android Question Google Maps is not installed or is disabled - android 11

Pedro Caldeira

Active Member
Licensed User
Longtime User
Hello All,
I have an app that works with google maps, and all worked well until android 11
now when I click the Directions Icon, in the bottom right corner, instead of opening google maps and showing the directions
I get the message "Google Maps is not installed or is disabled".
I stumble across this info in SatckOverflow

https://stackoverflow.com/questions/64526138/android-google-map-sdk-toolbar-issue-not-launching-external-map

someone that works at google states that we have to add en entry to the manifest, but how can we add it to B4a Manifest ?

To fix this, you will need to add the Google Maps package "com.google.android.apps.maps" as an entry in your AndroidManifest.xml <queries> entry:

B4X:
<manifest package="com.your.package">
  <queries>
    <package android:name="com.google.android.apps.maps" />
  </queries>
  ...
</manifest>
 
Top