-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.ClassNotFoundException: com.mapbox.common.BillingService #1779
Comments
Hey @RoProducts . |
Thank you for your immediate feedback. Yes this occurs only on this specific Android version. Gradlew output is : +--- com.mapbox.navigation:core:2.8.0 (n) |
@RoProducts as this is more of a product support Issue, can you please create a support ticket at https://support.mapbox.com/hc/en-us/ and our support team will be happy to get you the answers you need. |
I'm trying to migrate an Android app to Mapbox Maps SDK v10. I'm facing the following issue on an older Android version :
Environment
Full Mapbox dependencies list :
implementation "com.mapbox.navigation:core:2.8.0"
implementation 'com.mapbox.mapboxsdk:mapbox-sdk-services:5.8.0'
implementation 'com.mapbox.maps:android:10.8.1'
Observed behavior and steps to reproduce
App crashes immediately when starting.
Expected behavior
App not crashing.
Notes / preliminary analysis
Additional links and references
2022-10-24 10:52:31.188 1139-1139/? W/System.err: java.lang.ClassNotFoundException: Didn't find class "com.mapbox.common.BillingService" on path: DexPathList[[zip file "/system/priv-app/Jespr/Jespr.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]
2022-10-24 10:52:31.189 1139-1139/? W/System.err: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
2022-10-24 10:52:31.189 1139-1139/? W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
2022-10-24 10:52:31.189 1139-1139/? W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
2022-10-24 10:52:31.189 1139-1139/? W/System.err: at java.lang.Runtime.nativeLoad(Native Method)
2022-10-24 10:52:31.189 1139-1139/? W/System.err: at java.lang.Runtime.doLoad(Runtime.java:428)
2022-10-24 10:52:31.192 1139-1139/? W/System.err: at java.lang.Runtime.loadLibrary(Runtime.java:369)
2022-10-24 10:52:31.192 1139-1139/? W/System.err: at java.lang.System.loadLibrary(System.java:988)
2022-10-24 10:52:31.192 1139-1139/? W/System.err: at com.mapbox.common.loader.MapboxLibraryLoader.load(MapboxLibraryLoader.kt:19)
2022-10-24 10:52:31.192 1139-1139/? W/System.err: at com.mapbox.common.CoreInitializer.create(CoreInitializer.kt:65)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at com.mapbox.common.CoreInitializer.create(CoreInitializer.kt:8)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at androidx.startup.AppInitializer.doInitialize(AppInitializer.java:155)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at androidx.startup.AppInitializer.doInitialize(AppInitializer.java:148)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at androidx.startup.AppInitializer.doInitialize(AppInitializer.java:148)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at androidx.startup.AppInitializer.discoverAndInitialize(AppInitializer.java:198)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at androidx.startup.InitializationProvider.onCreate(InitializationProvider.java:38)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at android.content.ContentProvider.attachInfo(ContentProvider.java:1730)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at android.content.ContentProvider.attachInfo(ContentProvider.java:1705)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at android.app.ActivityThread.installProvider(ActivityThread.java:4999)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at android.app.ActivityThread.installContentProviders(ActivityThread.java:4594)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4534)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at android.app.ActivityThread.access$1500(ActivityThread.java:151)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at android.os.Looper.loop(Looper.java:135)
2022-10-24 10:52:31.193 1139-1139/? W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5254)
2022-10-24 10:52:31.194 1139-1139/? W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2022-10-24 10:52:31.194 1139-1139/? W/System.err: at java.lang.reflect.Method.invoke(Method.java:372)
2022-10-24 10:52:31.194 1139-1139/? W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902)
2022-10-24 10:52:31.194 1139-1139/? W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:697)
2022-10-24 10:52:31.194 1139-1139/? W/System.err: Suppressed: java.lang.ClassNotFoundException: com.mapbox.common.BillingService
2022-10-24 10:52:31.198 1139-1139/? W/System.err: at java.lang.Class.classForName(Native Method)
2022-10-24 10:52:31.198 1139-1139/? W/System.err: at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
2022-10-24 10:52:31.198 1139-1139/? W/System.err: at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
2022-10-24 10:52:31.198 1139-1139/? W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
2022-10-24 10:52:31.198 1139-1139/? W/System.err: ... 27 more
2022-10-24 10:52:31.198 1139-1139/? W/System.err: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
2022-10-24 10:52:31.223 1139-1139/? E/libc++abi: terminating with uncaught exception of type jni::PendingJavaException
2022-10-24 10:52:31.223 1139-1139/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 1139 (ch.jespr.jespr)
2022-10-24 10:52:31.328 752-752/? I/ActivityManager: Start proc 1339:com.qualcomm.telephony/1000 for broadcast com.qualcomm.simcontacts/.SimStateReceiver
2022-10-24 10:52:31.336 752-1248/? E/LocSvc_libulp: I/===> int ulp_msg_process_system_update(UlpSystemEvent) line 1455
2022-10-24 10:52:31.336 752-1248/? E/LocSvc_libulp: W/Loc HAL handshake did not happen yet...
2022-10-24 10:52:31.343 752-1248/? E/LocSvc_libulp: I/===> int ulp_msg_process_stop_req() line 523
2022-10-24 10:52:31.343 752-1248/? E/LocSvc_libulp: I/int ulp_msg_process_stop_req(), at ulp state = 0
2022-10-24 10:52:31.346 290-290/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2022-10-24 10:52:31.346 290-290/? I/DEBUG: Build fingerprint: 'msm8916_64:5.1.1/LMY47V/user06232100:userdebug/test-keys'
2022-10-24 10:52:31.346 290-290/? I/DEBUG: Revision: '0'
2022-10-24 10:52:31.346 290-290/? I/DEBUG: ABI: 'arm64'
2022-10-24 10:52:31.348 290-290/? I/DEBUG: pid: 1139, tid: 1139, name: ch.jespr.jespr >>> ch.jespr.jespr <<<
2022-10-24 10:52:31.348 290-290/? I/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
2022-10-24 10:52:31.408 922-922/com.android.systemui I/ViewRootImpl: CPU Rendering VSync enable = true
2022-10-24 10:52:31.441 290-290/? I/DEBUG: Abort message: 'terminating with uncaught exception of type jni::PendingJavaException'
2022-10-24 10:52:31.441 290-290/? I/DEBUG: x0 0000000000000000 x1 0000000000000473 x2 0000000000000006 x3 0000007fa65d1ea0
2022-10-24 10:52:31.441 290-290/? I/DEBUG: x4 0000007fa65d1ea0 x5 0000000000000005 x6 0000000000000001 x7 0000000000000020
2022-10-24 10:52:31.441 290-290/? I/DEBUG: x8 0000000000000083 x9 fefeff6d6e68736f x10 7f7f7f7f7f7f7f7f x11 0000000000000001
2022-10-24 10:52:31.444 290-290/? I/DEBUG: x12 0000000000000001 x13 0000000000000000 x14 0000000000000000 x15 000d4c5fadc5e946
2022-10-24 10:52:31.445 290-290/? I/DEBUG: x16 0000007f8c2f7188 x17 0000000000000001 x18 0000000000000000 x19 0000007fa65d1ea0
2022-10-24 10:52:31.445 290-290/? I/DEBUG: x20 0000007fa65d2160 x21 0000007fa638a000 x22 0000000000000002 x23 0000000000000006
2022-10-24 10:52:31.445 290-290/? I/DEBUG: x24 0000007fec64f5c0 x25 0000007fec64f600 x26 0000005598229d00 x27 0000007fec64fe90
2022-10-24 10:52:31.445 290-290/? I/DEBUG: x28 0000007fa3519000 x29 0000007fec64f460 x30 0000007fa6303e58
2022-10-24 10:52:31.445 290-290/? I/DEBUG: sp 0000007fec64f460 pc 0000007fa6348fb8 pstate 0000000060000000
2022-10-24 10:52:31.446 290-290/? I/DEBUG: backtrace:
2022-10-24 10:52:31.446 290-290/? I/DEBUG: #00 pc 000000000005efb8 /system/lib64/libc.so (tgkill+8)
2022-10-24 10:52:31.446 290-290/? I/DEBUG: #1 pc 0000000000019e54 /system/lib64/libc.so (pthread_kill+160)
2022-10-24 10:52:31.446 290-290/? I/DEBUG: #2 pc 000000000001b3b4 /system/lib64/libc.so (raise+28)
2022-10-24 10:52:31.446 290-290/? I/DEBUG: #3 pc 0000000000014afc /system/lib64/libc.so (abort+60)
2022-10-24 10:52:31.446 290-290/? I/DEBUG: #4 pc 000000000009ce88 /system/vendor/lib64/libc++_shared.so
2022-10-24 10:52:31.447 290-290/? I/DEBUG: #5 pc 000000000009d094 /system/vendor/lib64/libc++_shared.so
2022-10-24 10:52:31.447 290-290/? I/DEBUG: #6 pc 00000000000aead0 /system/vendor/lib64/libc++_shared.so
2022-10-24 10:52:31.447 290-290/? I/DEBUG: #7 pc 00000000000ae0fc /system/vendor/lib64/libc++_shared.so
2022-10-24 10:52:31.447 290-290/? I/DEBUG: #8 pc 00000000000ae058 /system/vendor/lib64/libc++_shared.so (__cxa_throw+112)
2022-10-24 10:52:31.447 290-290/? I/DEBUG: #9 pc 000000000000b0a4 /system/vendor/lib64/libmapbox-common.so
2022-10-24 10:52:31.447 290-290/? I/DEBUG: #10 pc 000000000000b060 /system/vendor/lib64/libmapbox-common.so
2022-10-24 10:52:31.447 290-290/? I/DEBUG: #11 pc 000000000000abb4 /system/vendor/lib64/libmapbox-common.so
2022-10-24 10:52:31.447 290-290/? I/DEBUG: #12 pc 000000000000a8ac /system/vendor/lib64/libmapbox-common.so
2022-10-24 10:52:31.447 290-290/? I/DEBUG: #13 pc 0000000000087f04 /system/vendor/lib64/libmapbox-common.so (mapbox::bindgen::initialize(_JavaVM*)+64)
2022-10-24 10:52:31.447 290-290/? I/DEBUG: #14 pc 000000000028cbc0 /system/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, art::Handleart::mirror::ClassLoader, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >)+3644)
2022-10-24 10:52:31.447 290-290/? I/DEBUG: #15 pc 00000000002c8e60 /system/lib64/libart.so (art::Runtime_nativeLoad(_JNIEnv, _jclass*, _jstring*, _jobject*, _jstring*)+700)
2022-10-24 10:52:31.447 290-290/? I/DEBUG: #16 pc 00000000000b8948 /data/dalvik-cache/arm64/system@framework@boot.oat
2022-10-24 10:52:31.462 1339-1339/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1699 android.content.ContextWrapper.startService:516 android.content.ContextWrapper.startService:516 com.qualcomm.simcontacts.SimStateReceiver.sendSimState:78 com.qualcomm.simcontacts.SimStateReceiver.onReceive:54
I don't find any information about com.mapbox.common.BillingService and what it is used for. I'm not using any billing inside the app and don't want to. Please give some information what this is used for and if and how it can be excluded. Thank you.
The text was updated successfully, but these errors were encountered: