IT技术部
IT技术部
  • 发布:2023-06-09 16:10
  • 更新:2023-06-28 14:18
  • 阅读:454

安卓底层崩溃问题 来个大佬解释一下 收到的日志如下

分类:uni-app

1.设备为三星
日志内容:

  1. java.lang.UnsatisfiedLinkError: No implementation found for com.samsung.android.deviceidservice.IDeviceIdService com.samsung.android.deviceidservice.IDeviceIdService$Stub.a(android.os.IBinder) (tried Java_com_samsung_android_deviceidservice_IDeviceIdService_00024Stub_a and Java_com_samsung_android_deviceidservice_IDeviceIdService_00024Stub_a__Landroid_os_IBinder_2) at com.samsung.android.deviceidservice.IDeviceIdService$Stub.a(Native Method) at com.bun.miitmdid.supplier.sumsung.SumsungCore$a.onServiceConnected(Unknown Source:3) at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2240) at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2273) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:226) at android.os.Looper.loop(Looper.java:313) at android.app.ActivityThread.main(ActivityThread.java:8751) 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)
  2. java.lang.UnsatisfiedLinkError: No implementation found for com.samsung.android.deviceidservice.IDeviceIdService com.samsung.android.deviceidservice.IDeviceIdService$Stub.a(android.os.IBinder) (tried Java_com_samsung_android_deviceidservice_IDeviceIdService_00024Stub_a and Java_com_samsung_android_deviceidservice_IDeviceIdService_00024Stub_a__Landroid_os_IBinder_2) at com.samsung.android.deviceidservice.IDeviceIdService$Stub.a(Native Method) at com.bun.miitmdid.supplier.sumsung.SumsungCore$a.onServiceConnected(Unknown Source:3) at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2084) at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2116) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) 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
    2、红米
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference at java.lang.String.startsWith(String.java:1739) at java.lang.String.startsWith(String.java:1792) at io.dcloud.common.util.PdrUtil.isDeviceRootDir(Unknown Source:1) at io.dcloud.feature.nativeObj.photoview.PhotoActivity$2.displayImage(Unknown Source:6) at io.dcloud.feature.nativeObj.BannerLayout$LoopPagerAdapter.instantiateItem(Unknown Source:11) at androidx.viewpager.widget.ViewPager.addNewItem(ViewPager.java:1010) at androidx.viewpager.widget.ViewPager.populate(ViewPager.java:1158) at androidx.viewpager.widget.ViewPager.populate(ViewPager.java:1092) at androidx.viewpager.widget.ViewPager.onMeasure(ViewPager.java:1622) at android.view.View.measure(View.java:26743) at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:735) at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:481) at android.view.View.measure(View.java:26743) at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:735) at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:481) at android.view.View.measure(View.java:26743) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7095) at android.widget.FrameLayout.onMeasure(FrameLayout.java:194) at android.view.View.measure(View.java:26743) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7095) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1552) at android.widget.LinearLayout.measureVertical(LinearLayout.java:842) at android.widget.LinearLayout.onMeasure(LinearLayout.java:721) at android.view.View.measure(View.java:26743) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7095) at android.widget.FrameLayout.onMeasure(FrameLayout.java:194) at com.android.internal.policy.DecorView.onMeasure(DecorView.java:833) at android.view.View.measure(View.java:26743) at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:4196) at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:2869) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3152) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2574) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9649) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1386) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1394) at android.view.Choreographer.doCallbacks(Choreographer.java:1013) at android.view.Choreographer.doFrame(Choreographer.java:911) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1366) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:210) at android.os.Looper.loop(Looper.java:299) at android.app.ActivityThread.main(ActivityThread.java:8136) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)
    3.google
  3. java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:354) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383) at java.util.concurrent.FutureTask.setException(FutureTask.java:252) at java.util.concurrent.FutureTask.run(FutureTask.java:271) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:764) Caused by: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/file from pid=11343, uid=10069 requires android.permission.READ_EXTERNALSTORAGE, or grantUriPermission() at android.os.Parcel.createException(Parcel.java:1950) at android.os.Parcel.readException(Parcel.java:1918) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135) at android.content.ContentProviderProxy.query(ContentProviderNative.java:418) at android.content.ContentResolver.query(ContentResolver.java:803) at EdHooker.hook(Unknown Source:165) at android.content.ContentResolver.query(ContentResolver.java:753) at android.content.CursorLoader.loadInBackground(CursorLoader.java:68) at android.content.CursorLoader.loadInBackground(CursorLoader.java:45) at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:319) at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:73) at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:61) at android.os.AsyncTask$2.call(AsyncTask.java:333) at java.util.concurrent.FutureTask.run(FutureTask.java:266
2023-06-09 16:10 负责人:无 分享
已邀请:
DCloud_Android_ST

DCloud_Android_ST

NullPointerException、IDeviceIdService 的日志可以定位问题 我们这边会尽快处理
其他日志没有明确指向,无法追踪。需要复现步骤才能判定

  • IT技术部 (作者)

    好的感谢

    目前还收集到一个vivo手机的日志

    java.lang.RuntimeException: Probable deadlock detected due to WebView API being called on incorrect thread while the UI thread is blocked. at py0.c(chromium-TrichromeWebViewGoogle.apk-stable-495157433:75) at com.android.webview.chromium.WebViewChromiumFactoryProvider.j(chromium-TrichromeWebViewGoogle.apk-stable-495157433:157) at com.android.webview.chromium.WebViewChromium.onCheckIsTextEditor(chromium-TrichromeWebViewGoogle.apk-stable-495157433:2423) at android.webkit.WebView.onCheckIsTextEditor(WebView.java:3227) at android.view.inputmethod.InputMethodManager.getStartInputFlags(InputMethodManager.java:2564) at android.view.inputmethod.InputMethodManager.startInputInner(InputMethodManager.java:2335) at android.view.inputmethod.InputMethodManager$DelegateImpl.startInput(InputMethodManager.java:681) at android.view.ImeFocusController.checkFocus(ImeFocusController.java:169) at android.view.inputmethod.InputMethodManager.checkFocus(InputMethodManager.java:2580) at android.view.inputmethod.InputMethodManager.showSoftInput(InputMethodManager.java:1908) at android.view.inputmethod.InputMethodManager.toggleSoftInput(InputMethodManager.java:2186) at io.dcloud.common.adapter.util.DeviceInfo$2.run(Unknown Source:6) at java.util.TimerThread.mainLoop(Timer.java:563) at java.util.TimerThread.run(Timer.java:513) Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.FutureTask.get(FutureTask.java:204) at py0.c(chromium-TrichromeWebViewGoogle.apk-stable-495157433:73) ... 13 more

    2023-06-11 15:45

  • IT技术部 (作者)

    大佬, 经过这半个月的日志收集情况来看 以下两种崩溃 情况非常频繁 占比能有80%左右 1.No implementation found fo 2.上面这个vivo的这个报错的日志。想问下这个大概什么时候能排上日期修复呢 挺紧急的

    2023-06-19 10:03

  • IT技术部 (作者)

    java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/exoplayer2/ui/AdViewProvider; at java.lang.Class.newInstance(Native Method) at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:95) at androidx.core.app.CoreComponentFactory.instantiateActivity(CoreComponentFactory.java:45) at android.app.Instrumentation.newActivity(Instrumentation.java:1264) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3968) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4252) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2618) at android.os.Handler.dispatchMessage(Handler.java:110) at android.os.Looper.loop(Looper.java:219) at android.app.ActivityThread.main(ActivityThread.java:8673) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.exoplayer2.ui.AdViewProvider" on path: DexPathList[[dex file "InMemoryDexFile[cookie=[0, 536995262720]]", zip file "/data/app/uni.UNIA98EF91-CJLbrDj9nh1PxRDuMCfClw==/base.apk"],nativeLibraryDirectories=[/data/app/uni.UNIA98EF91-CJLbrDj9nh1PxRDuMCfClw==/lib/arm64, /data/app/uni.UNIA98EF91-CJLbrDj9nh1PxRDuMCfClw==/base.apk!/lib/arm64-v8a, /system/lib64, /hw_product/lib64, /system/product/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:209) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) ... 16 more

    2023-08-04 11:24

  • DCloud_Android_ST

    回复 IT技术部: 看起来像是集成的三方插件异常

    2023-08-04 12:11

  • IT技术部 (作者)

    像这个大多数安卓都是这个 崩溃日志 java.lang.RuntimeException: Probable deadlock detected due to WebView API being called on incorrect thread while the UI thread is blocked. at tE.d(HwWebview-12.1.2.322.4696:6) at com.android.webview.chromium.WebViewChromium.onCheckIsTextEditor(HwWebview-12.1.2.322.4696:4) at android.webkit.WebView.onCheckIsTextEditor(WebView.java:3277) at android.view.inputmethod.InputMethodManager.getStartInputFlags(InputMethodManager.java:2294) at android.view.inputmethod.InputMethodManager.startInputInner(InputMethodManager.java:2098) at android.view.inputmethod.InputMethodManager$DelegateImpl.startInput(InputMethodManager.java:654) at android.view.ImeFocusController.checkFocus(ImeFocusController.java:206) at android.view.inputmethod.InputMethodManager.checkFocus(InputMethodManager.java:2307) at android.view.inputmethod.InputMethodManager.showSoftInput(InputMethodManager.java:1777) at android.view.inputmethod.InputMethodManager.toggleSoftInput(InputMethodManager.java:2000) at io.dcloud.common.adapter.util.DeviceInfo$2.run(Unknown Source:6) at java.util.TimerThread.mainLoop(Timer.java:562) at java.util.TimerThread.run(Timer.java:512) Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.FutureTask.get(FutureTask.java:206) at tE.d(HwWebview-12.1.2.322.4696:4) ... 12 more

    2023-08-04 16:43

  • DCloud_Android_ST

    回复 IT技术部: 用HX最新版本测试下

    2023-08-04 19:16

菜鸟驿站111

菜鸟驿站111

安卓底层崩溃问题,有大佬解释一下吗?
日志:libc.so #00 pc 0000000000091838 /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)

ringyee

ringyee

同样遇到了,经常闪退

  • IT技术部 (作者)

    只是说可以定位 但是也没后续了

    2023-06-29 10:30

要回复问题请先登录注册