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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
android.content.res.Resources$NotFoundException: String resource ID #0x4
at android.content.res.Resources.getText(
at android.widget.TextView.setText(
at com.example.matts.mathsucks.MainActivity.makeCalculations(
at com.example.matts.mathsucks.MainActivity.access$000(
at com.example.matts.mathsucks.MainActivity$1.onClick(
at android.view.View.performClick(
at android.widget.TextView.performClick(
at android.view.View$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(

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

Write tip

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