android.content.res.Resources$NotFoundException: String resource ID #0x1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

android.content.res.Resources$NotFoundException: String resource ID #0x1
at android.widget.TextView.setText(TextView.java:3657)
at com.example.neelay.level10.CustomAdapter.getView(CustomAdapter.java:35)
at android.widget.AbsListView.obtainView(AbsListView.java:2267)
at android.widget.ListView.makeAndAddView(ListView.java:1769)
at android.widget.ListView.fillDown(ListView.java:672)
at android.widget.ListView.fillFromTop(ListView.java:733)
at android.widget.ListView.layoutChildren(ListView.java:1622)
at android.widget.AbsListView.onLayout(AbsListView.java:2102)
at android.view.View.layout(View.java:13902)
at android.view.ViewGroup.layout(ViewGroup.java:4476)
at android.widget.RelativeLayout.onLayout(RelativeLayout.java:953)
at android.view.View.layout(View.java:13902)
at android.view.ViewGroup.layout(ViewGroup.java:4476)
at android.support.design.widget.CoordinatorLayout.layoutChild(CoordinatorLayout.java:1139)
at android.support.design.widget.CoordinatorLayout.onLayoutChild(CoordinatorLayout.java:833)
at android.support.design.widget.ViewOffsetBehavior.layoutChild(ViewOffsetBehavior.java:63)
at android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:135)
at android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)
at android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1364)
at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:846)
at android.view.View.layout(View.java:13902)
at android.view.ViewGroup.layout(ViewGroup.java:4476)
at android.widget.FrameLayout.onLayout(FrameLayout.java:463)
at android.view.View.layout(View.java:13902)
at android.view.ViewGroup.layout(ViewGroup.java:4476)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1730)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1588)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1487)
at android.view.View.layout(View.java:13902)
at android.view.ViewGroup.layout(ViewGroup.java:4476)
at android.widget.FrameLayout.onLayout(FrameLayout.java:463)
at android.view.View.layout(View.java:13902)
at android.view.ViewGroup.layout(ViewGroup.java:4476)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1730)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1588)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1487)
at android.view.View.layout(View.java:13902)
at android.view.ViewGroup.layout(ViewGroup.java:4476)
at android.widget.FrameLayout.onLayout(FrameLayout.java:463)
at android.view.View.layout(View.java:13902)
at android.view.ViewGroup.layout(ViewGroup.java:4476)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1876)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1697)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1008)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4222)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
at android.view.Choreographer.doCallbacks(Choreographer.java:555)
at android.view.Choreographer.doFrame(Choreographer.java:525)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4793)
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:808)

Users with the same issue

4 times, 1 year ago
3 times, 1 year ago
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
55 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.