android.content.res.Resources $ NotFoundException:资源ID#0xfffffe6c

时间:2017-08-21 03:08:37

标签: java android android-resources

帮助... 我有两天这个例外。我所做的只是在全局类中添加一个静态String,就像这样 public static final String MONTH = "month"; 并使用它作为这个  map.put(MONTH, month);

这是例外..

android.content.res.Resources$NotFoundException: Resource ID #0xfffffe6c
  at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:190)
  at android.content.res.Resources.loadXmlResourceParser(Resources.java:2094)
  at android.content.res.Resources.getLayout(Resources.java:1111)
  at android.view.LayoutInflater.inflate(LayoutInflater.java:424)
  at com.chad.library.adapter.base.BaseQuickAdapter.getItemView(BaseQuickAdapter.java:1470)
  at com.chad.library.adapter.base.BaseQuickAdapter.createBaseViewHolder(BaseQuickAdapter.java:987)
  at com.chad.library.adapter.base.BaseMultiItemQuickAdapter.onCreateDefViewHolder(BaseMultiItemQuickAdapter.java:49)
  at com.chad.library.adapter.base.BaseQuickAdapter.onCreateViewHolder(BaseQuickAdapter.java:759)
  at com.chad.library.adapter.base.BaseQuickAdapter.onCreateViewHolder(BaseQuickAdapter.java:68)
  at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:6367)
  at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5555)
  at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5440)
  at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5436)
  at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2224)
  at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1551)
  at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1511)
  at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:595)
  at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3583)
  at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3312)
  at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3844)
  at android.view.View.layout(View.java:17519)
  at android.view.ViewGroup.layout(ViewGroup.java:5612)
  at com.doushi.library.widgets.canrefresh.CanRefreshLayout.childLayout(CanRefreshLayout.java:449)
  at com.doushi.library.widgets.canrefresh.CanRefreshLayout.onLayout(CanRefreshLayout.java:414)
  at android.view.View.layout(View.java:17519)

当我重新安装应用程序时,它可以工作。但是在手术后,它再次崩溃。

我用mon

0 个答案:

没有答案