Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IncompatibleClassChangeError: The method 'com.google.android.gms.tasks.Task com.google.android.gms.location.FusedLocationProviderClient.requestLocationUpdates(com.google.android.gms.location.LocationRequest, com.google.android.gms.location.LocationCallback, android.os.Looper)' was expected to be of type virtual but instead was found to be of type interface (declaration of 'rekab.app.background_locator.provider.GoogleLocationProviderClient' appears in /data/app/com.doa.lojisoft.saray-JqLCd0a12SEpAYQu6cUZjg==/base.apk:classes2.dex) #359

Open
toprako opened this issue Mar 1, 2023 · 2 comments

Comments

@toprako
Copy link

toprako commented Mar 1, 2023

Hello,

I get such an error when I integrate it in flutter.

Can you help me ??

java.lang.IncompatibleClassChangeError: The method 'com.google.android.gms.tasks.Task com.google.android.gms.location.FusedLocationProviderClient.requestLocationUpdates(com.google.android.gms.location.LocationRequest, com.google.android.gms.location.LocationCallback, android.os.Looper)' was expected to be of type virtual but instead was found to be of type interface (declaration of 'rekab.app.background_locator.provider.GoogleLocationProviderClient' appears in /data/app/com.doa.lojisoft.saray-JqLCd0a12SEpAYQu6cUZjg==/base.apk:classes2.dex)

@toprako
Copy link
Author

toprako commented Mar 1, 2023

Full Fail Message ;

E/AndroidRuntime(21264): java.lang.IncompatibleClassChangeError: The method 'com.google.android.gms.tasks.Task com.google.android.gms.location.FusedLocationProviderClient.requestLocationUpdates(com.google.android.gms.location.LocationRequest, com.google.android.gms.location.LocationCallback, android.os.Looper)' was expected to be of type virtual but instead was found to be of type interface (declaration of 'rekab.app.background_locator.provider.GoogleLocationProviderClient' appears in /data/app/com.doa.lojisoft.saray-JqLCd0a12SEpAYQu6cUZjg==/base.apk:classes2.dex)
E/AndroidRuntime(21264): at rekab.app.background_locator.provider.GoogleLocationProviderClient.requestLocationUpdates(GoogleLocationProviderClient.kt:17)
E/AndroidRuntime(21264): at rekab.app.background_locator.IsolateHolderService.startHolderService(IsolateHolderService.kt:156)
E/AndroidRuntime(21264): at rekab.app.background_locator.IsolateHolderService.onStartCommand(IsolateHolderService.kt:128)
E/AndroidRuntime(21264): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3539)
E/AndroidRuntime(21264): at android.app.ActivityThread.-wrap20(Unknown Source:0)
E/AndroidRuntime(21264): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1698)
E/AndroidRuntime(21264): at android.os.Handler.dispatchMessage(Handler.java:105)
E/AndroidRuntime(21264): at android.os.Looper.loop(Looper.java:164)
E/AndroidRuntime(21264): at android.app.ActivityThread.main(ActivityThread.java:6541)
E/AndroidRuntime(21264): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(21264): at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
E/AndroidRuntime(21264): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

@Alvish0407
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants