Hi everyone... I need to add AppCompat lib for my application together with FusedLocationProvider and GoogleMaps lib. But when adding AppCompat it gives me this error
B4X:
B4A line: 43
Dim jo As JavaObject = gmap
javac 1.8.0_181
src\b4a\example3\main.java:421: error: cannot access GoogleMap
_jo.setObject((java.lang.Object)(parent.mostCurrent._gmap.getObject()));
^
class file for com.google.android.gms.maps.GoogleMap not found
I attached the source I'm working on. I appreciate any help.
Hi DonManfred...thank you for the help and time answering. I'd tried to go over the tutorial but I'm still stuck even to the point of reinstalling to a new machine.
I'm getting this error even I updated the sdk.
B4X:
Error
c:\android\tools\..\extras\b4a_remote\com\android\support\coordinatorlayout\28.0.0\unpacked-coordinatorlayout-28.0.0\res\values\values.xml:28: error: Attribute "layout_anchorGravity" already defined with incompatible format.
c:\android\tools\..\extras\b4a_remote\androidx\coordinatorlayout\coordinatorlayout\1.0.0\unpacked-coordinatorlayout-1.0.0\res\values\values.xml:30: Original attribute defined here.
c:\android\tools\..\extras\b4a_remote\com\android\support\coordinatorlayout\28.0.0\unpacked-coordinatorlayout-28.0.0\res\values\values.xml:67: error: Attribute "layout_insetEdge" already defined with incompatible format.
c:\android\tools\..\extras\b4a_remote\androidx\coordinatorlayout\coordinatorlayout\1.0.0\unpacked-coordinatorlayout-1.0.0\res\values\values.xml:67: Original attribute defined here.
c:\android\tools\..\extras\b4a_remote\com\android\support\coordinatorlayout\28.0.0\unpacked-coordinatorlayout-28.0.0\res\values\values.xml:84: error: Attribute "layout_dodgeInsetEdges" already defined with incompatible format.
c:\android\tools\..\extras\b4a_remote\androidx\coordinatorlayout\coordinatorlayout\1.0.0\unpacked-coordinatorlayout-1.0.0\res\values\values.xml:86: Original attribute defined here.
c:\android\tools\..\extras\b4a_remote\com\android\support\support-compat\28.0.0\unpacked-support-compat-28.0.0\res\values\values.xml:36: error: Attribute "fontProviderFetchStrategy" already defined with incompatible format.
c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.0.2\unpacked-core-1.0.2\res\values\values.xml:42: Original attribute defined here.
c:\android\tools\..\extras\b4a_remote\com\android\support\support-compat\28.0.0\unpacked-support-compat-28.0.0\res\values\values.xml:51: error: Attribute "fontProviderFetchTimeout" already defined with incompatible format.
c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.0.2\unpacked-core-1.0.2\res\values\values.xml:54: Original attribute defined here.
c:\android\tools\..\extras\b4a_remote\com\android\support\support-compat\28.0.0\unpacked-support-compat-28.0.0\res\values\values.xml:61: error: Attribute "fontStyle" already defined with incompatible format.
c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.0.2\unpacked-core-1.0.2\res\values\values.xml:62: Original attribute defined here.
The project compiles fine though it needs to be updated to handle runtime permissions before calling flp.RequestLocationUpdates. @microbox which version of B4A are you using? Can you post a screenshot of Tools - Configure Paths dialog?
The project compiles fine though it needs to be updated to handle runtime permissions before calling flp.RequestLocationUpdates. @microbox which version of B4A are you using? Can you post a screenshot of Tools - Configure Paths dialog?