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
FATAL EXCEPTION: main
Process: com.pricol.mapboxexample, PID: 10108
java.lang.NoSuchMethodError: No static method getInstance()Lcom/mapbox/common/LogConfiguration; in class Lcom/mapbox/common/LogConfiguration; or its super classes (declaration of 'com.mapbox.common.LogConfiguration' appears in /data/app/~~7vWebiIohRRhzUttC41AVg==/com.pricol.mapboxexample-XrPf7B1z0xbzqVZA6QcUcw==/base.apk)
at com.mapbox.navigation.utils.internal.LoggerProvider.initialize(LoggerProvider.kt:23)
at com.mapbox.navigation.core.MapboxNavigation.(MapboxNavigation.kt:396)
at com.mapbox.navigation.core.MapboxNavigation.(MapboxNavigation.kt:223)
at com.mapbox.navigation.core.MapboxNavigationProvider.create(MapboxNavigationProvider.kt:23)
at com.pricol.mapboxexample.MainActivity.onCreate(MainActivity.kt:401)
at android.app.Activity.performCreate(Activity.java:8290)
at android.app.Activity.performCreate(Activity.java:8270)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4009)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4201)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
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:2438)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
The text was updated successfully, but these errors were encountered:
While running turn by turn navigation example code I'm getting this error, using same navigation dependency version
CODE :
mapboxNavigation = if (MapboxNavigationProvider.isCreated()) {
MapboxNavigationProvider.retrieve()
} else {
MapboxNavigationProvider.create(
NavigationOptions.Builder(this.applicationContext)
.accessToken(getString(R.string.mapbox_access_token))
.locationEngine(replayLocationEngine)
.build()
)
}
FATAL EXCEPTION: main
Process: com.pricol.mapboxexample, PID: 10108
java.lang.NoSuchMethodError: No static method getInstance()Lcom/mapbox/common/LogConfiguration; in class Lcom/mapbox/common/LogConfiguration; or its super classes (declaration of 'com.mapbox.common.LogConfiguration' appears in /data/app/~~7vWebiIohRRhzUttC41AVg==/com.pricol.mapboxexample-XrPf7B1z0xbzqVZA6QcUcw==/base.apk)
at com.mapbox.navigation.utils.internal.LoggerProvider.initialize(LoggerProvider.kt:23)
at com.mapbox.navigation.core.MapboxNavigation.(MapboxNavigation.kt:396)
at com.mapbox.navigation.core.MapboxNavigation.(MapboxNavigation.kt:223)
at com.mapbox.navigation.core.MapboxNavigationProvider.create(MapboxNavigationProvider.kt:23)
at com.pricol.mapboxexample.MainActivity.onCreate(MainActivity.kt:401)
at android.app.Activity.performCreate(Activity.java:8290)
at android.app.Activity.performCreate(Activity.java:8270)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4009)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4201)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
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:2438)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
The text was updated successfully, but these errors were encountered: