java.lang.RuntimeException: Unable to start activity ComponentInfo{com.firstttttyt.lights/com.firstttyt.lights.MainActivity}: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.firstttyt.lights/com.firstttyt.lights.RestartAlarmsService}; have you declared this activity in your AndroidManifest.xml?

Stack Overflow | DroidGalaxy | 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

    IntentService not working (have you declared this activity in your AndroidManifest.xml)

    Stack Overflow | 7 months ago | DroidGalaxy
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.firstttttyt.lights/com.firstttyt.lights.MainActivity}: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.firstttyt.lights/com.firstttyt.lights.RestartAlarmsService}; have you declared this activity in your AndroidManifest.xml?
  2. 0

    app crashes while sending intents to a mailing app

    Stack Overflow | 9 months ago | HARSHIL JAIN
    java.lang.IllegalStateException: Could not execute method for android:onClick
  3. 0

    How to open a view-source site through chrome (Android)

    Stack Overflow | 8 months ago | alexanders916
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Opening Tag URI with Chrome Custom Tabs "ActivityNotFoundException: No Activity found to handle Intent"

    Stack Overflow | 7 months ago | shaunkawano
    android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=tag:github.com,2008:PullRequestReviewCommentEvent/4172209621 (has extras) }
  6. 0

    Application all of a sudden crashing

    Stack Overflow | 6 months ago | Justin
    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.ActivityNotFoundException

    Unable to find explicit activity class {com.firstttyt.lights/com.firstttyt.lights.RestartAlarmsService}; have you declared this activity in your AndroidManifest.xml?

    at android.app.Instrumentation.checkStartActivityResult()
  2. Android Platform
    Activity.startActivityForResult
    1. android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1854)
    2. android.app.Instrumentation.execStartActivity(Instrumentation.java:1545)
    3. android.app.Activity.startActivityForResult(Activity.java:4283)
    3 frames
  3. Android Support v4
    FragmentActivity.startActivityForResult
    1. android.support.v4.app.BaseFragmentActivityJB.startActivityForResult(BaseFragmentActivityJB.java:48)
    2. android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:75)
    2 frames
  4. Android Platform
    Activity.startActivityForResult
    1. android.app.Activity.startActivityForResult(Activity.java:4230)
    1 frame
  5. Android Support v4
    FragmentActivity.startActivityForResult
    1. android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:871)
    1 frame
  6. Android Platform
    Activity.startActivity
    1. android.app.Activity.startActivity(Activity.java:4567)
    2. android.app.Activity.startActivity(Activity.java:4535)
    2 frames
  7. com.firstttyt.lights
    MainActivity.onCreate
    1. com.firstttyt.lights.MainActivity.onCreate(MainActivity.java:59)
    1 frame
  8. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:6876)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207)
    3 frames