我目前仅在华为设备上遇到以下崩溃。当我第一次安装该应用程序时,它运行良好,然后在短时间安装该应用程序或更新该应用程序后,当我尝试在该应用程序中启动新活动时,都会发生此崩溃。 以下日志来自Google Play开发者控制台。 任何帮助将不胜感激,因为我不知道如何解决它。
> #00 pc 000000000002282c /system/lib64/libc.so (abort+116)
>
> #01 pc 00000000000080e0 /system/lib64/liblog.so (__android_log_assert+304)
>
> #02 pc 0000000000147704 /system/lib64/libandroid_runtime.so (Bitmap_copyColorSpace(_JNIEnv*, _jobject*, long, long)+184)
>
> #03 pc 0000000000417d80 /system/framework/arm64/boot-framework.oat (android.content.res.AssetManager.nativeThemeCopy [DEDUPED]+160)
>
> #04 pc 00000000009f39c0 /system/framework/arm64/boot-framework.oat (android.graphics.Bitmap.createBitmap+2144)
>
> #05 pc 00000000009f5334 /system/framework/arm64/boot-framework.oat (android.graphics.Bitmap.createScaledBitmap+372)
>
> #06 pc 0000000000057ccc /system/framework/arm64/boot-hwEmui.oat (android.content.res.HwResourcesImpl.handleAddIconBackground+908)
>
> #07 pc 00000000009dece4 /system/framework/arm64/boot-framework.oat (android.content.res.ResourcesImpl.loadDrawable+1748)
>
> #08 pc 00000000009d72c8 /system/framework/arm64/boot-framework.oat (android.content.res.Resources.getDrawableForDensity+168)
>
> #09 pc 00000000009d7188 /system/framework/arm64/boot-framework.oat (android.content.res.Resources.getDrawable+56)
>
> #10 pc 00000000008551b8 /system/framework/arm64/boot-framework.oat (android.content.Context.getDrawable+104)
>
> #11 pc 000000000078d1e0 /system/framework/arm64/boot-framework.oat (com.android.internal.widget.ToolbarWidgetWrapper.setIcon+80)
>
> #12 pc 00000000007ed44c /system/framework/arm64/boot-framework.oat (com.android.internal.widget.ActionBarOverlayLayout.setIcon+92)
>
> #13 pc 00000000007c5eec /system/framework/arm64/boot-framework.oat (com.android.internal.policy.PhoneWindow.setDefaultIcon+172)
>
> #14 pc 0000000000b5c4fc /system/framework/arm64/boot-framework.oat (android.app.Activity.initWindowDecorActionBar+508)
>
> #15 pc 0000000000b66840 /system/framework/arm64/boot-framework.oat (android.app.Activity.setContentView+96)
>
> #16 pc 000000000056ef88 /system/lib64/libart.so (art_quick_invoke_stub+584)
>
> #17 pc 00000000000d4204 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int,
> art::JValue*, char const*)+200)
>
> #18 pc 0000000000283fa8 /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*,
> art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+344)
>
> #19 pc 000000000027dfb0 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*,
> art::ShadowFrame&, art::Instruction const*, unsigned short,
> art::JValue*)+968)
>
> #20 pc 0000000000541adc /system/lib64/libart.so (MterpInvokeVirtualQuick+584)
>
> #21 pc 0000000000565394 /system/lib64/libart.so (ExecuteMterpImpl+29972)
>
> #22 pc 00000000001d64d0 /data/app/com.company.myapp-cNzm0YGw4awMce3hpIQiEg==/oat/arm64/base.vdex
> (com.company.myapp.file_scanner_activity.onCreate+12)
>
> #23 pc 0000000000257cb4 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.1977376047+488)
>
> #24 pc 000000000052aa88 /system/lib64/libart.so (artQuickToInterpreterBridge+1020)
>
> #25 pc 00000000005780fc /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
>
> #26 pc 0000000000b64048 /system/framework/arm64/boot-framework.oat (android.app.Activity.performCreate+232)
>
> #27 pc 00000000008175f0 /system/framework/arm64/boot-framework.oat (android.app.Instrumentation.callActivityOnCreate+240)
>
> #28 pc 000000000094956c /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.performLaunchActivity+2428)
>
> #29 pc 00000000009503c4 /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.handleLaunchActivity+1364)
>
> #30 pc 0000000000b6ecf4 /system/framework/arm64/boot-framework.oat (android.app.servertransaction.LaunchActivityItem.execute+372)
>
> #31 pc 000000000083b8b4 /system/framework/arm64/boot-framework.oat (android.app.servertransaction.TransactionExecutor.executeCallbacks+708)
>
> #32 pc 000000000083b578 /system/framework/arm64/boot-framework.oat (android.app.servertransaction.TransactionExecutor.execute+280)
>
> #33 pc 00000000009367d0 /system/framework/arm64/boot-framework.oat (android.app.ActivityThread$H.handleMessage+976)
>
> #34 pc 0000000000bacd94 /system/framework/arm64/boot-framework.oat (android.os.Handler.dispatchMessage+180)
>
> #35 pc 0000000000bb011c /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+1436)
>
> #36 pc 0000000000947e94 /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.main+1236)
>
> #37 pc 000000000056f24c /system/lib64/libart.so (art_quick_invoke_static_stub+604)
>
> #38 pc 00000000000d4224 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int,
> art::JValue*, char const*)+232)
>
> #39 pc 0000000000472fd4 /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable
> const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*,
> art::JValue*, char const*)+104)
>
> #40 pc 0000000000474a28 /system/lib64/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&,
> _jobject*, _jobject*, _jobject*, unsigned long)+1440)
>
> #41 pc 00000000004043ac /system/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*,
> _jobjectArray*)+52)
>
> #42 pc 00000000001456d4 /system/framework/arm64/boot.oat (java.lang.Class.getDeclaredMethodInternal [DEDUPED]+180)
>
> #43 pc 0000000000eda4d8 /system/framework/arm64/boot-framework.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+136)
>
> #44 pc 0000000000ee13ac /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2540)
>
> #45 pc 000000000056f24c /system/lib64/libart.so (art_quick_invoke_static_stub+604)
>
> #46 pc 00000000000d4224 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int,
> art::JValue*, char const*)+232)
>
> #47 pc 0000000000472fd4 /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable
> const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*,
> art::JValue*, char const*)+104)
>
> #48 pc 0000000000472c34 /system/lib64/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&,
> _jobject*, _jmethodID*, std::__va_list)+424)
>
> #49 pc 0000000000367254 /system/lib64/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*,
> std::__va_list)+652)
>
> #50 pc 00000000000b92c0 /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+120)
>
> #51 pc 00000000000bbee4 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*,
> android::Vector<android::String8> const&, bool)+780)
>
> #52 pc 0000000000002368 /system/bin/app_process64 (main+1444)
>
> #53 pc 00000000000adf54 /system/lib64/libc.so (__libc_init+88**