You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey im using the latest dji sdk version and the latest mapbox plugin, its seems that mapbox doesn`t use any more this method but dji still initialize with this so the app crashed
the exception down below:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.dji.ux.sample, PID: 19116
java.lang.NoSuchMethodError: No virtual method styleUrl(Ljava/lang/String;)Lcom/mapbox/mapboxsdk/maps/MapboxMapOptions; in class Lcom/mapbox/mapboxsdk/maps/MapboxMapOptions; or its super classes (declaration of 'com.mapbox.mapboxsdk.maps.MapboxMapOptions' appears in /data/app/~~TLs319y-Bkc2JxeW1BUQ==/com.dji.ux.sample-O5TTwe-8tc52UprtNI3VcA==/base.apk!classes3.dex)
at com.dji.mapkit.mapbox.provider.MapboxProvider.requestMapView(Unknown Source:42)
at com.dji.mapkit.core.providers.MapProvider.dispatchMapViewRequest(Unknown Source:11)
at dji.ux.widget.MapWidget.initMapboxMap(Unknown Source:29)
at com.dji.ux.sample.CompleteWidgetActivity.onCreate(CompleteWidgetActivity.java:124)
at android.app.Activity.performCreate(Activity.java:8198)
at android.app.Activity.performCreate(Activity.java:8182)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3765)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3968)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2307)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8512)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
E/DJICrashHandler: uncaughtException 3
E/UsbAccessoryService: final destroy() 71
E/UsbAccessoryService: final destroy() 72
E/wm220: ****resetSwitchFromWifiFlag
E/DJIUsbAccessoryReceiver: receiver destroySession
E/UsbAccessoryService: final destroy() 73
E/UsbAccessoryService: final destroy() 75
final destroy() 76
thx
The text was updated successfully, but these errors were encountered:
hey i
m using the latest dji sdk version and the latest mapbox plugin, it
s seems that mapbox doesn`t use any more this method but dji still initialize with this so the app crashedthe exception down below:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.dji.ux.sample, PID: 19116
java.lang.NoSuchMethodError: No virtual method styleUrl(Ljava/lang/String;)Lcom/mapbox/mapboxsdk/maps/MapboxMapOptions; in class Lcom/mapbox/mapboxsdk/maps/MapboxMapOptions; or its super classes (declaration of 'com.mapbox.mapboxsdk.maps.MapboxMapOptions' appears in /data/app/~~TLs319y-Bkc2JxeW1BUQ==/com.dji.ux.sample-O5TTwe-8tc52UprtNI3VcA==/base.apk!classes3.dex)
at com.dji.mapkit.mapbox.provider.MapboxProvider.requestMapView(Unknown Source:42)
at com.dji.mapkit.core.providers.MapProvider.dispatchMapViewRequest(Unknown Source:11)
at dji.ux.widget.MapWidget.initMapboxMap(Unknown Source:29)
at com.dji.ux.sample.CompleteWidgetActivity.onCreate(CompleteWidgetActivity.java:124)
at android.app.Activity.performCreate(Activity.java:8198)
at android.app.Activity.performCreate(Activity.java:8182)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3765)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3968)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2307)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8512)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
E/DJICrashHandler: uncaughtException 3
E/UsbAccessoryService: final destroy() 71
E/UsbAccessoryService: final destroy() 72
E/wm220: ****resetSwitchFromWifiFlag
E/DJIUsbAccessoryReceiver: receiver destroySession
E/UsbAccessoryService: final destroy() 73
E/UsbAccessoryService: final destroy() 75
final destroy() 76
thx
The text was updated successfully, but these errors were encountered: