I get the following error when using FusedLocationProvider (from the log):
--------------------------------------------------------------------------------------------------
IMroFKg26bNAloiTI3FK-A==/base.apk)
at igolub.fused.b4a.location.FusedLocationProviderClientWrapper.GetLocationAvailability
java.lang.Exception: java.lang.IncompatibleClassChangeError: Found class com.google.android.gms.location.FusedLocationProviderClient, but interface was expected (declaration of 'com.google.android.gms.location.FusedLocationProviderClient' appears in /data/app/~~p6QbooHvr8kdgVvEHKAKVA==/b4a.exampleljjll-IMroFKg26bNAloiTI3FK-A==/base.apk)
--------------------------------------------------------------------------------------------------
I can't find the post back now but the solution to this seems to be to delete the Android SDK and install the latest version. This is from a post from Erel.
I have the Android SDK tools in: C:\Android2\sdk-tools-windows-4333796\
Should I just delete this whole folder and then unzip commandlinetools-win-13114758_latest.zip ?
RBS
--------------------------------------------------------------------------------------------------
IMroFKg26bNAloiTI3FK-A==/base.apk)
at igolub.fused.b4a.location.FusedLocationProviderClientWrapper.GetLocationAvailability
java.lang.Exception: java.lang.IncompatibleClassChangeError: Found class com.google.android.gms.location.FusedLocationProviderClient, but interface was expected (declaration of 'com.google.android.gms.location.FusedLocationProviderClient' appears in /data/app/~~p6QbooHvr8kdgVvEHKAKVA==/b4a.exampleljjll-IMroFKg26bNAloiTI3FK-A==/base.apk)
--------------------------------------------------------------------------------------------------
I can't find the post back now but the solution to this seems to be to delete the Android SDK and install the latest version. This is from a post from Erel.
I have the Android SDK tools in: C:\Android2\sdk-tools-windows-4333796\
Should I just delete this whole folder and then unzip commandlinetools-win-13114758_latest.zip ?
RBS
![]() |