android.content.res.Resources$NotFoundException

String resource ID #0x4

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web517

Stack trace

  • 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 java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

MyInnosMyInnos
3 times, last one
ashish.sadhwaniashish.sadhwani
6 times, last one
PierrePierre
Once,
Hiren AmaliyarHiren Amaliyar
6 times, last one
filipebatistafilipebatista
Once,
53 more bugmates