bkonyi/FlutterGeofencing

Android callback exception: java.lang.UnsatisfiedLinkError

Opened this issue · 1 comments

Our users are getting the following exception, which we have not been able to recreate ourselves on our own devices.

java.lang.UnsatisfiedLinkError: 
  at io.flutter.embedding.engine.FlutterJNI.nativeLookupCallbackInformation (Native Method)
  at io.flutter.view.FlutterCallbackInformation.lookupCallbackInformation (FlutterCallbackInformation.java:30)
  at io.flutter.plugins.geofencing.GeofencingService.startGeofencingService (GeofencingService.kt:75)
  at io.flutter.plugins.geofencing.GeofencingService.onCreate (GeofencingService.kt:122)
  at android.app.ActivityThread.handleCreateService (ActivityThread.java:3686)
  at android.app.ActivityThread.access$1300 (ActivityThread.java:207)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1709)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:205)
  at android.app.ActivityThread.main (ActivityThread.java:6983)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:884)

What is the reason the reason we are getting quite a lot of these exceptions?

Hi @bkonyi : Could a fix similar to this one - flutter/plugins@de56da5#diff-e57a1a7ffb729ad174b597626202429c1c87e4168e19b2aa9decc1be84e8777b
help get rid of the error?

java.lang.UnsatisfiedLinkError: 
  at io.flutter.embedding.engine.FlutterJNI.nativeLookupCallbackInformation (Native Method)
  at io.flutter.view.FlutterCallbackInformation.lookupCallbackInformation (FlutterCallbackInformation.java:30)