Closed elintonev closed 9 months ago
The error message is: unknown:ReactNative: Caused by: java.lang.IncompatibleClassChangeError: The method 'com.google.android.gms.tasks.Task com.google.android.gms.location.FusedLocationProviderClient.getLastLocation()' was expected to be of type virtual but instead was found to be of type interface (declaration of 'com.mocklocation.reactnative.RNMockLocationDetectorModule' appears in /data/app/com.app-OzNFINPtBudlXtug566ZAA==/base.apk:classes2.dex)
At the google documentation have a message explain whats happened: https://developers.google.com/android/guides/releases?hl=en#october_13_2022
An error was occurring when building an app with react native on version 0.74.3 and node 18+, where it was necessary to update the google-play-service-location library for the error to stop happening.