gpt4 book ai didi

安卓.content.res.Resources$NotFoundException : Resource ID #0xffffffff

转载 作者:行者123 更新时间:2023-11-30 02:27:30 30 4
gpt4 key购买 nike

我收到此错误报告,但未显示它在应用程序中的来源。它似乎是外部的。有什么我可以做的吗?

android.content.res.Resources$NotFoundException: Resource ID #0xffffffff
at android.content.res.Resources.getValue(Resources.java)
at android.content.res.MiuiResources.getValue(MiuiResources.java:87)
at android.content.res.Resources.getColor(Resources.java)
at miui.util.UiUtils.getColor(UiUtils.java:127)
at com.android.internal.view.menu.ListMenuItemView$Injector.checkTextColor(ListMenuItemView.java:104)
at com.android.internal.view.menu.ListMenuItemView.setCheckable(ListMenuItemView.java)
at com.android.internal.view.menu.ListMenuItemView.initialize(ListMenuItemView.java)
at com.android.internal.view.menu.ListMenuPresenter$MenuAdapter.getView(ListMenuPresenter.java)
at android.widget.AbsListView.obtainView(AbsListView.java)
at android.widget.ListView.measureHeightOfChildren(ListView.java)
at android.widget.ListView.onMeasure(ListView.java)
at android.view.View.measure(View.java)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java)
at android.widget.FrameLayout.onMeasure(FrameLayout.java)
at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java)
at android.view.View.measure(View.java)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java)
at android.view.Choreographer.doCallbacks(Choreographer.java)
at android.view.Choreographer.doFrame(Choreographer.java)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java)
at android.os.Handler.handleCallback(Handler.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)

编辑:找出它的外部而不是从我的应用程序。我现在的问题是,我该怎么做才能阻止人们给我 1 星?

最佳答案

我在使用 miui 的小米设备上遇到了同样的问题。看来问题出在miui内部。但我找到了解决方法:

当我使用 appcompat-v7 切换到 Material Design 时,问题就消失了图书馆。以前的应用程序主题是基于 @android:style/Theme.Holo,现在它继承自 @style/Theme.AppCompat.Light 并且可以正常工作。

如果您不想使用 Material Design,也许这会给您一些线索(未验证): http://en.miui.com/thread-13394-1-1.html

我无法证实,但有人猜测:

I think, the problem lied on, miui can't handle menu with property android:checkable="true"

关于安卓.content.res.Resources$NotFoundException : Resource ID #0xffffffff,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27743196/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com