I recently upgraded to B4A 9.80, followed the AndroidX tutorial (upgrading everything in the sdk manager and jettify everything) but still can't compile a project with the fusedlocationprovider library, I can't not even compile the example of this post by Erel (https://www.b4x.com/android/forum/threads/fusedlocationprovider-resolution-dialog.111652/#content).
This is the error:
If I delete the following
And the code in the manifest
It can pass the Generating R file step but gets stuck later on because it can't find the additional jar.
Any idea on how to fix this?
This is the error:
B4X:
Generating R file. Error
d:\android\android-sdk\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.
d:\android\android-sdk\tools\..\extras\b4a_remote\androidx\core\core\1.2.0\unpacked-core-1.2.0\res\values\values.xml:127: Original attribute defined here.
d:\android\android-sdk\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.
d:\android\android-sdk\tools\..\extras\b4a_remote\androidx\core\core\1.2.0\unpacked-core-1.2.0\res\values\values.xml:139: Original attribute defined here.
d:\android\android-sdk\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.
d:\android\android-sdk\tools\..\extras\b4a_remote\androidx\core\core\1.2.0\unpacked-core-1.2.0\res\values\values.xml:147: Original attribute defined here.
If I delete the following
B4X:
#AdditionalJar: com.google.android.gms:play-services-location
B4X:
AddApplicationText(<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />)
Any idea on how to fix this?