Pedro Caldeira Active Member Licensed User Longtime User Sep 1, 2021 #1 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: Code: Copy <manifest package="com.your.package"> <queries> <package android:name="com.google.android.apps.maps" /> </queries> ... </manifest>
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: Code: Copy <manifest package="com.your.package"> <queries> <package android:name="com.google.android.apps.maps" /> </queries> ... </manifest>
Erel B4X founder Staff member Licensed User Longtime User Sep 1, 2021 #2 It looks like you are using an old version of the SDK. Update to B4A v11 and download an updated SDK: https://www.b4x.com/b4a.html Upvote 0
It looks like you are using an old version of the SDK. Update to B4A v11 and download an updated SDK: https://www.b4x.com/b4a.html
Pedro Caldeira Active Member Licensed User Longtime User Sep 1, 2021 #3 Erel said: It looks like you are using an old version of the SDK. Update to B4A v11 and download an updated SDK: https://www.b4x.com/b4a.html Click to expand... I am using B4A v11, and recently updated the sdk Upvote 0
Erel said: It looks like you are using an old version of the SDK. Update to B4A v11 and download an updated SDK: https://www.b4x.com/b4a.html Click to expand... I am using B4A v11, and recently updated the sdk
Erel B4X founder Staff member Licensed User Longtime User Sep 1, 2021 #4 Pedro Caldeira said: and recently updated the sdk Click to expand... Have you downloaded the two components? Check the version of com.google.android.gms:play-services-maps. It should be 17.0.1. Upvote 0
Pedro Caldeira said: and recently updated the sdk Click to expand... Have you downloaded the two components? Check the version of com.google.android.gms:play-services-maps. It should be 17.0.1.
Pedro Caldeira Active Member Licensed User Longtime User Sep 1, 2021 #5 They are 17.0.1, but it works again, after I've added the following lines to the manifest Code: Copy AddManifestText(<queries> <package android:name="com.google.android.apps.maps" /> </queries>) Thanks anyway. Upvote 0
They are 17.0.1, but it works again, after I've added the following lines to the manifest Code: Copy AddManifestText(<queries> <package android:name="com.google.android.apps.maps" /> </queries>) Thanks anyway.
S Sofian Member Oct 13, 2021 #6 Pedro Caldeira said: They are 17.0.1, but it works again, after I've added the following lines to the manifest Code: Copy AddManifestText(<queries> <package android:name="com.google.android.apps.maps" /> </queries>) Thanks anyway. Click to expand... thanks.. this solution works for me. same problem here. ? Upvote 0
Pedro Caldeira said: They are 17.0.1, but it works again, after I've added the following lines to the manifest Code: Copy AddManifestText(<queries> <package android:name="com.google.android.apps.maps" /> </queries>) Thanks anyway. Click to expand... thanks.. this solution works for me. same problem here. ?