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
I'm trying to build a simple test project using 0.1.0. However, the app would crash at start up because MapboxTelemetry isn't included (it seems it was commented out here):
2018-10-20 13:45:06.841 30382-30382/com.mapbox.visiontest E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.mapbox.visiontest, PID: 30382
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/mapbox/android/telemetry/MapboxTelemetry;
at com.mapbox.vision.VisionManager.create(VisionManager.kt:191)
at com.mapbox.visiontest.MainActivity.onCreate(MainActivity.kt:12)
at android.app.Activity.performCreate(Activity.java:7136)
at android.app.Activity.performCreate(Activity.java:7127)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
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:858)
Adding api "com.mapbox.mapboxsdk:mapbox-android-telemetry:3.2.0" to the app's build.gradle dependecies fixes it. Happy to cut a PR if we're ready to bring back the dependency.
Ahh, right, it was a last minute fix with Telemetry SDK which we have to patch and include locally build aar. We forgot to mention that in setup instructions though, will fix it =\
I'm trying to build a simple test project using 0.1.0. However, the app would crash at start up because
MapboxTelemetry
isn't included (it seems it was commented out here):Adding
api "com.mapbox.mapboxsdk:mapbox-android-telemetry:3.2.0"
to the app'sbuild.gradle
dependecies fixes it. Happy to cut a PR if we're ready to bring back the dependency./cc: @BenDenen @yunikkk
The text was updated successfully, but these errors were encountered: