java.lang.ExceptionInInitializerError
at com.mapbox.mapboxsdk.net.ConnectivityReceiver.instance(ConnectivityReceiver.java:43)
at com.mapbox.mapboxsdk.Mapbox.getInstance(Mapbox.java:67)
at xxx.xxx.xxxActivity.onCreate(xxxActivity.java:208)
at android.app.Activity.performCreate(Activity.java:6222)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2295)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2407)
at android.app.ActivityThread.access$800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5280)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:963)
Caused by: java.lang.RuntimeException: java.nio.channels.FileLockInterruptionException
at com.facebook.soloader.SoLoader.init(SoLoader.java:207)
at com.mapbox.mapboxsdk.module.loader.LibraryLoaderProviderImpl$SoLibraryLoader.load(LibraryLoaderProviderImpl.java:41)
at com.mapbox.mapboxsdk.LibraryLoader.load(LibraryLoader.java:43)
at com.mapbox.mapboxsdk.net.NativeConnectivityListener.<clinit>(NativeConnectivityListener.java:13)
... 16 more
Caused by: java.nio.channels.FileLockInterruptionException
at java.nio.FileChannelImpl.lock(FileChannelImpl.java:172)
at java.nio.channels.FileChannel.lock(FileChannel.java:185)
at com.facebook.soloader.FileLocker.<init>(FileLocker.java:39)
at com.facebook.soloader.FileLocker.lock(FileLocker.java:32)
at com.facebook.soloader.UnpackingSoSource.prepare(UnpackingSoSource.java:411)
at com.facebook.soloader.SoLoader.initSoSources(SoLoader.java:315)
at com.facebook.soloader.SoLoader.init(SoLoader.java:193)
at com.facebook.soloader.SoLoader.init(SoLoader.java:175)
at com.facebook.soloader.SoLoader.init(SoLoader.java:205)
Environment
Observed behavior and steps to reproduce
Application crashes due to Mapbox initialization exception
Expected behavior
Notes / preliminary analysis
Additional links and references