AI聊天点击分享为图片时,部分手机闪退
2025-12-18 10:56:54.630 5737-5737 AndroidRuntime com.arcblock.sphere.production E FATAL EXCEPTION: main
Process: com.arcblock.sphere.production, PID: 5737
android.view.InflateException: Binary XML file line #73 in com.arcblock.sphere.production:layout/dialog_prompt_share: Binary XML file line #73 in com.arcblock.sphere.production:layout/dialog_prompt_share: Error inflating class ImageView
Caused by: android.view.InflateException: Binary XML file line #73 in com.arcblock.sphere.production:layout/dialog_prompt_share: Error inflating class ImageView
Caused by: android.content.res.Resources$NotFoundException: Drawable (missing name) with resource ID #0x7f0801c4
Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f0801c4
at android.content.res.ResourcesImpl.getResourcePackageName(ResourcesImpl.java:492)
at android.content.res.ResourcesImplEx.getResourcePackageName(ResourcesImplEx.java:50)
at android.content.res.HwResourcesImpl.getThemePackageName(HwResourcesImpl.java:2183)
at android.content.res.HwResourcesImpl.loadDrawable(HwResourcesImpl.java:1755)
at android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:1055)
at android.content.res.Resources.loadDrawable(Resources.java:1107)
at android.content.res.TypedArray.getDrawableForDensity(TypedArray.java:1196)
at android.content.res.TypedArray.getDrawable(TypedArray.java:1171)
at android.widget.ImageView.<init>(ImageView.java:237)
at android.widget.ImageView.<init>(ImageView.java:223)
at androidx.appcompat.widget.AppCompatImageView.<init>(SourceFile:3)
at androidx.appcompat.widget.AppCompatImageView.<init>(SourceFile:2)
at androidx.appcompat.app.q.createImageView(Unknown Source:2)
at androidx.appcompat.app.q.createView(SourceFile:15)
at androidx.appcompat.app.AppCompatDelegateImpl.e0(Unknown Source:151)
at androidx.appcompat.app.AppCompatDelegateImpl.onCreateView(SourceFile:1)
at android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:246)
at android.view.LayoutInflater.tryCreateView(LayoutInflater.java:1075)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1011)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:975)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1137)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1098)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1140)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1098)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1140)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1098)
at android.view.LayoutInflater.inflate(LayoutInflater.java:696)
at android.view.LayoutInflater.inflate(LayoutInflater.java:540)
at com.android.internal.policy.HwPhoneLayoutInflater.inflate(HwPhoneLayoutInflater.java:138)
at androidx.databinding.g.h(Unknown Source:14)
at androidx.databinding.ViewDataBinding.inflateInternal(Unknown Source:4)
at com.arcblock.sphere.databinding.DialogPromptShareBinding.inflate(SourceFile:2)
at com.arcblock.sphere.databinding.DialogPromptShareBinding.inflate(SourceFile:1)
at com.arcblock.sphere.mvp.ui.fragment.PromptShareDialog.onCreateView(Unknown Source:6)
at androidx.fragment.app.Fragment.performCreateView(Unknown Source:19)
at androidx.fragment.app.DialogFragment.performCreateView(Unknown Source:0)
at androidx.fragment.app.y.f(Unknown Source:198)
at androidx.fragment.app.y.m(Unknown Source:127)
at androidx.fragment.app.FragmentManager.g0(Unknown Source:230)
at androidx.fragment.app.FragmentManager.s1(Unknown Source:91)
at androidx.fragment.app.FragmentManager.d0(Unknown Source:21)
at androidx.fragment.app.FragmentManager$f.run(Unknown Source:3)
at android.os.Handler.handleCallback(Handler.java:966)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:293)
at android.app.ActivityThread.loopProcess(ActivityThread.java:9986)
at android.app.ActivityThread.main(ActivityThread.java:9975)
2025-12-18 10:56:54.630 5737-5737 AndroidRuntime com.arcblock.sphere.production E
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:586)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1240)
1 条回复
感谢反馈,会尽快解决这个问题。