|
本帖最后由 lls2wow 于 2024-1-27 15:52 编辑
就是简单的界面操作,点点按钮,偶尔需要输入一下密码那种 ,报错并崩溃。这个日志在谷歌早期安卓版本有出现过,麻烦看下你们的AOSP代码是否有问题。总是在activity resume的时候出现。
- 使用的镜像 GMSXP22.9 GMSXP23.3,只使用带GMS和XP的镜像 因为目标app要求GMS . 当下出到了 25.1XP 但是没有25.1GMSXP也没法测试
复制代码- <font size="2">Abort message: 'No pending exception expected: java.lang.ClassNotFoundException: com.genymobile.scrcpy.CleanUp
- (Throwable with empty stack trace)
- '
- x0 0000000000000000 x1 0000000000002d95 x2 0000000000000006 x3 0000007fcdde45b0
- x4 0000000065b4a491 x5 0000000065b4a491 x6 0000000065b4a491 x7 000000002800335e
- x8 00000000000000f0 x9 93dca08556a2fde1 x10 0000000000000000 x11 ffffff80fffffbdf
- x12 0000000000000001 x13 00000000000000b3 x14 0000007fcdde33c0 x15 0000000000000000
- x16 0000007f1caef050 x17 0000007f1cacc610 x18 0000007f3519a000 x19 0000000000002d95
- x20 0000000000002d95 x21 00000000ffffffff x22 0000000000000002 x23 0000000000000002
- x24 0000007c8b215000 x25 0000000000000043 x26 0000007f33a7f14c x27 0000007c8b217000
- x28 0000007c8b218000 x29 0000007fcdde4630
- lr 0000007f1ca7ebc4 sp 0000007fcdde4590 pc 0000007f1ca7ebf0 pst 0000000000001000
- backtrace:
- #00 pc 0000000000050bf0 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 5b35dc30f4031537dfc86e28e553c53b)
- #01 pc 00000000006267b4 /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+704) (BuildId: 4925dbfec35f1037f8ee5dab9b73e87d)
- #02 pc 00000000000159b4 /system/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76) (BuildId: cb45b3bec36f934daa3339e7d1eb1901)
- #03 pc 0000000000014fe4 /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+364) (BuildId: cb45b3bec36f934daa3339e7d1eb1901)
- #04 pc 000000000067bdc8 /apex/com.android.art/lib64/libart.so (art::Thread::AssertNoPendingException() const+1828) (BuildId: 4925dbfec35f1037f8ee5dab9b73e87d)
- #05 pc 00000000002ae1ac /apex/com.android.art/lib64/libart.so (art::ClassLinker::FindClass(art::Thread*, char const*, art::Handle<art::mirror::ClassLoader>)+64) (BuildId: 4925dbfec35f1037f8ee5dab9b73e87d)
- #06 pc 000000000045da30 /apex/com.android.art/lib64/libart.so (art::JNI<false>::FindClass(_JNIEnv*, char const*)+1008) (BuildId: 4925dbfec35f1037f8ee5dab9b73e87d)
- #07 pc 00000000000bd024 /system/lib64/libandroid_runtime.so (jniRegisterNativeMethods(_JNIEnv*, char const*, JNINativeMethod const*, int)+68) (BuildId: cafcec10b5f25a86037bfe93f56aa0a0)
- #08 pc 00000000000bcf8c /system/lib64/libandroid_runtime.so (android::register_com_android_internal_os_RuntimeInit(_JNIEnv*)+104) (BuildId: cafcec10b5f25a86037bfe93f56aa0a0)
- #09 pc 00000000000c1a30 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::startReg(_JNIEnv*)+64) (BuildId: cafcec10b5f25a86037bfe93f56aa0a0)
- #10 pc 00000000000c1738 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+488) (BuildId: cafcec10b5f25a86037bfe93f56aa0a0)
- #11 pc 0000000000002598 /system/bin/app_process64 (main+1348) (BuildId: 0d411048401a89f9e4ff6cf5d0837f7b)
- #12 pc 0000000000049824 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+96) (BuildId: 5b35dc30f4031537dfc86e28e553c53b)
- Loaded manager, skipping next steps
- Background concurrent copying GC freed 38202(2608KB) AllocSpace objects, 74(2920KB) LOS objects, 49% free, 3229KB/6459KB, paused 34us,7.532ms total 38.270ms
- Reducing the number of considered missed Gc histogram windows from 4498 to 100</font>
复制代码
- Process: com.globe.xxxxxx.android, PID: 17803
- java.lang.RuntimeException: Unable to resume activity {com.globe.xxxxxx.android/xxxxxx.module.dashboard.refactored.presentation.DashboardContainerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Handler.post(java.lang.Runnable)' on a null object reference
- at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4824)
- at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4857)
- at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:54)
- at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
- at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
- at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
- at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2253)
- at android.os.Handler.dispatchMessage(Handler.java:106)
- at android.os.Looper.loopOnce(Looper.java:201)
- at android.os.Looper.loop(Looper.java:288)
- at android.app.ActivityThread.main(ActivityThread.java:7870)
- at java.lang.reflect.Method.invoke(Native Method)
- at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
- at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
- Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Handler.post(java.lang.Runnable)' on a null object reference
- at android.hardware.SystemSensorManager.fakeSensorData(SystemSensorManager.java:193)
- at android.hardware.SystemSensorManager.registerListenerImpl(SystemSensorManager.java:359)
- at android.hardware.SensorManager.registerListener(SensorManager.java:831)
- at android.hardware.SensorManager.registerListener(SensorManager.java:738)
- at mx_com.mixpanel.android.viewcrawler.ViewCrawler$LifecycleCallbacks.installConnectionSensor(ViewCrawler.java:210)
- at mx_com.mixpanel.android.viewcrawler.ViewCrawler$LifecycleCallbacks.onActivityResumed(ViewCrawler.java:182)
- at android.app.Application.dispatchActivityResumed(Application.java:471)
- at android.app.Activity.dispatchActivityResumed(Activity.java:1395)
- at android.app.Activity.onResume(Activity.java:1956)
- at androidx.fragment.app.FragmentActivity.onResume(SourceFile:2)
- at xxxxxx.module.dashboard.refactored.presentation.DashboardContainerActivity.onResume(SourceFile:1)
- at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1488)
- at android.app.Activity.performResume(Activity.java:8212)
- at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4814)
复制代码
|
|