java.lang.IllegalStateException: Could not execute method for android:onClick

  1. 0

    Unable to start actvity ComponentInfo

    Stack Overflow | 2 years ago | Salah
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.test/com.example.test.MainActivity}: android.content.res.Resources$NotFoundException: String resource ID #0x1
  2. 0

    Android String Resource not found Exception

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

    Automated exception search integrated into your IDE

  4. 0

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

    Stack Overflow | 2 years ago | Aneesh
    android.content.res.Resources$NotFoundException: String resource ID #0x1
  5. 0

    TextView cause an error on android emulator

    Stack Overflow | 3 years ago | user3440132
    android.content.res.Resources$NotFoundException: String resource ID #0x1

  1. Akshay 2 times, last 5 months ago
  2. Riyaz 1 times, last 6 months ago
  3. asvid 2 times, last 7 months ago
  4. Saravana Kumar Chinnaraj 3 times, last 8 months ago
  5. MyInnos 3 times, last 8 months ago
1 more registered users
10 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 #0x3a98

    at android.content.res.Resources.getText()
  2. Android Platform
    TextView.setText
    1. android.content.res.Resources.getText(Resources.java:244)
    2. android.widget.TextView.setText(TextView.java:3888)
    2 frames
  3. com.example.mybalancesheet
    MainActivity.salaryEntered
    1. com.example.mybalancesheet.MainActivity.salaryEntered(MainActivity.java:60)
    1 frame
  4. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  5. Android v7
    AppCompatViewInflater$DeclaredOnClickListener.onClick
    1. android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:4438)
    2. android.view.View$PerformClick.run(View.java:18422)
    3. android.os.Handler.handleCallback(Handler.java:733)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:136)
    6. android.app.ActivityThread.main(ActivityThread.java:5001)
    6 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame