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

Stack Overflow | M. Minor | 4 months ago
  1. 0

    Android App Keeps Shutting Down

    Stack Overflow | 4 months ago | M. Minor
    android.content.res.Resources$NotFoundException: String resource ID #0x4
  2. 0

    Getting values from Android SQLite database and putting in label

    Stack Overflow | 2 weeks ago | kastravec
    android.content.res.Resources$NotFoundException: String resource ID #0x4
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    RuntimeException: Unable to start activity ComponentInfo, NotFoundException

    Stack Overflow | 7 months ago | y07k2
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.krystian.weatherapp/com.krystian.flowerapp.ui.DetailActivity}: android.content.res.Resources$NotFoundException: String resource ID #0x2
  5. 0

    Error when putting integer into TextView

    Stack Overflow | 6 months ago | Adir
    android.content.res.Resources$NotFoundException: String resource ID #0x1

  1. maxxi 4 times, last 3 weeks ago
  2. ajinkya_w 3 times, last 2 months ago
  3. spe 1 times, last 5 months ago
  4. Diogo Jaym 1 times, last 5 months ago
  5. Agócs Tamás 20 times, last 10 months ago
4 more registered users
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.content.res.Resources$NotFoundException

    String resource ID #0x4

    at android.content.res.Resources.getText()
  2. Android Platform
    Resources.getText
    1. android.content.res.Resources.getText(Resources.java:1468)
    1 frame
  3. Android v7
    ResourcesWrapper.getText
    1. android.support.v7.widget.ResourcesWrapper.getText(ResourcesWrapper.java:52)
    1 frame
  4. Android Platform
    TextView.setText
    1. android.widget.TextView.setText(TextView.java:5050)
    1 frame
  5. com.example.matts
    MainActivity$1.onClick
    1. com.example.matts.mathsucks.MainActivity.makeCalculations(MainActivity.java:69)
    2. com.example.matts.mathsucks.MainActivity.access$000(MainActivity.java:21)
    3. com.example.matts.mathsucks.MainActivity$1.onClick(MainActivity.java:50)
    3 frames
  6. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:5697)
    2. android.widget.TextView.performClick(TextView.java:10826)
    3. android.view.View$PerformClick.run(View.java:22526)
    4. android.os.Handler.handleCallback(Handler.java:739)
    5. android.os.Handler.dispatchMessage(Handler.java:95)
    6. android.os.Looper.loop(Looper.java:158)
    7. android.app.ActivityThread.main(ActivityThread.java:7224)
    7 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames