mapbox / mapbox-gl-native-android

Interactive, thoroughly customizable maps in native Android powered by vector tiles and OpenGL
https://mapbox.com/mobile
Other
218 stars 116 forks source link

Crash in DirectionsResponseFactory.java line 78 #473

Open vidhi1011 opened 4 years ago

vidhi1011 commented 4 years ago

I have been getting this error in firebase. many users are affected due to this. Can you please look into this where it is causing issue?


Fatal Exception: java.lang.IllegalAccessError
Method 'java.lang.String d.d.a.a.a()' is inaccessible to class 'com.mapbox.api.directions.v5.h' (declaration of 'com.mapbox.api.directions.v5.h' appears in /data/app/com.gardensbythebay.supertree-rT5_mHPJVtyzCkLCxNCUtA==/base.apk!classes2.dex)
com.mapbox.api.directions.v5.DirectionsResponseFactory.generateRouteOptions (DirectionsResponseFactory.java:78)
com.mapbox.api.directions.v5.DirectionsResponseFactory.generate (DirectionsResponseFactory.java:31)
com.mapbox.api.directions.v5.MapboxDirections$1.onResponse (MapboxDirections.java:184)
retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run (ExecutorCallAdapterFactory.java:71)
android.os.Handler.handleCallback (Handler.java:790)
android.os.Handler.dispatchMessage (Handler.java:99)
android.os.Looper.loop (Looper.java:164)
android.app.ActivityThread.main (ActivityThread.java:6558)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:469)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:826)

image

vidhi1011 commented 4 years ago

@Chaoba @Guardiola31337 @abhishek1508 @nkukday

jtpdev commented 4 years ago

Any updates?

jtpdev commented 4 years ago

I get to build an apk in release using flutter run --release, but there a problem yet: when I run the app in release, flutter generates a apk only for my system archtecture (32bits) then it crashs in 64bits.

Will this problem solved?

jtpdev commented 4 years ago

@Chaoba @Guardiola31337 @abhishek1508 @nkukday

Any updates?