1
我得到這個錯誤報告,它不顯示它來自應用程序的位置。它似乎是外在的。有什麼我可以做的嗎?
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.util.UiUtils.getColor(UiUtils.java:127)' – mmlooloo
問題與庫。參見[this](http://yatse.leetzone.org/redmine/boards/2/topics/1512) – Nasir
某人正在將-1傳遞給'getColor()',可能是一個有缺陷的默認值。 – CommonsWare