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

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

via Stack Overflow by Tony Mathew
, 1 year ago
via Stack Overflow by Unknown author, 2 years ago
via Stack Overflow by sayres
, 2 months ago
String resource ID #0x8
via Stack Overflow by Unknown author, 2 years ago
via Stack Overflow by user3262438
, 1 year ago
String resource ID #0x3
via Stack Overflow by Manish Jindal
, 2 years ago
String resource ID #0xffca9612
android.content.res.Resources$NotFoundException: String resource ID #0x4
at android.content.res.Resources.getText(Resources.java:312)
at android.widget.Toast.makeText(Toast.java:286)
at com.example.tonymathew.firstapp.User.QuestionOneA(User.java:42)
at com.example.tonymathew.firstapp.got_1$3.onClick(got_1.java:70)
at android.view.View.performClick(View.java:5207)
at android.view.View$PerformClick.run(View.java:21168)
at android.os.Handler.handleCallback(Handler.java:746)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5443)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)

Users with the same issue

4 times, 4 months ago
Once, 4 months ago
4 times, 5 months ago
Once, 6 months ago
Once, 7 months ago

Write tip

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