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

Stack Overflow | Gitton Florian | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error using setText in runInUiThread

    Stack Overflow | 7 months ago | Gitton Florian
    android.content.res.Resources$NotFoundException: String resource ID #0x1
  2. 0

    Error when putting integer into TextView

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

    Display Result in editBox Android Studio and button Listeners

    Stack Overflow | 11 months ago | beeWRX
    android.content.res.Resources$NotFoundException: String resource ID #0x1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android App crash when i'm calculation something

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

    E/AndroidRuntime: Error

    Stack Overflow | 7 months ago | user6814201
    java.lang.IllegalStateException: Could not execute method for android:onClick
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 #0x1

    at android.content.res.Resources.getText()
  2. Android Platform
    Resources.getText
    1. android.content.res.Resources.getText(Resources.java:1058)
    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:3866)
    1 frame
  5. com.horizon.testtimerthread
    MainActivity$1$1.run
    1. com.horizon.testtimerthread.MainActivity$1$1.run(MainActivity.java:39)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:615)
    2. android.os.Handler.dispatchMessage(Handler.java:92)
    3. android.os.Looper.loop(Looper.java:177)
    4. android.app.ActivityThread.main(ActivityThread.java:4947)
    4 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame