android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.test/com.test.app.main.activity.MainActivity}

GitHub | tcking | 4 months ago
  1. 0

    android 6.0.1 启动插件activity出现android.content.pm.PackageManager$NameNotFoundException

    GitHub | 4 months ago | tcking
    android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.test/com.test.app.main.activity.MainActivity}
  2. 0

    NameNotFoundException at ActivityUnitTestCase with ActionBarActivity

    Stack Overflow | 2 years ago | Emre Dirican
    java.lang.IllegalArgumentException: android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{mypackage.view.activity/mypackage.view.activity.MyActivity}
  3. 0

    Android Unit Tests with AppCompat project library

    Stack Overflow | 2 years ago | dinhokz
    java.lang.IllegalArgumentException: android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{mypackage/mypackage.MyActivity}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GCM application works fine on emulator but crashes on android device

    Stack Overflow | 4 years ago | Vivek Singh
    java.lang.IllegalArgumentException: android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.example.androiddemos/com.example.androiddemos.MainActivity}
  6. 0

    Remove application from launcher programatically in Android : Weird Exception

    Stack Overflow | 2 years ago
    java.lang.IllegalArgumentException: android.content.pm.PackageManager$NameNotFoundException: Maybe it takes some time for activity icon to be actually removed from launcher. Please advice... Complete Stack Trace.. java.lang.RuntimeException: Unable to start activity ComponentInfo{packageName/packageName.ActivityName}: java.lang.IllegalArgumentException: android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{packageName/packageName.ActivityName}

  1. bluebunnty 19 times, last 3 weeks ago
  2. Aria Pahlavan 4 times, last 3 weeks ago
  3. bmacedo 2 times, last 3 weeks ago
  4. Alexandru Popa 4 times, last 1 month ago
  5. filpgame 2 times, last 2 months ago
20 more registered users
1 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.pm.PackageManager$NameNotFoundException

    ComponentInfo{com.test/com.test.app.main.activity.MainActivity}

    at android.app.ApplicationPackageManager.getActivityInfo()
  2. Android Platform
    ApplicationPackageManager.getActivityInfo
    1. android.app.ApplicationPackageManager.getActivityInfo(ApplicationPackageManager.java:404)
    1 frame
  3. Android
    PhoneWindow.getDecorView
    1. com.android.internal.policy.PhoneWindow.installDecor(PhoneWindow.java:4831)
    2. com.android.internal.policy.PhoneWindow.getDecorView(PhoneWindow.java:2263)
    2 frames
  4. Android Platform
    Window.findViewById
    1. android.view.Window.findViewById(Window.java:1049)
    1 frame
  5. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:469)
    2. android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:309)
    3. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:273)
    4. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
    4 frames
  6. com.test.app
    MainActivity.onCreate
    1. com.test.app.main.activity.MainActivity.onCreate(MainActivity.java:99)
    1 frame
  7. Android Platform
    Instrumentation.callActivityOnCreate
    1. android.app.Activity.performCreate(Activity.java:6876)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
    2 frames
  8. net.wequick.small
    ApkBundleLauncher$InstrumentationWrapper.callActivityOnCreate
    1. net.wequick.small.ApkBundleLauncher$InstrumentationWrapper.callActivityOnCreate(ApkBundleLauncher.java:170)
    1 frame
  9. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)
    3. android.app.ActivityThread.access$1100(ActivityThread.java:222)
    4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795)
    5. android.os.Handler.dispatchMessage(Handler.java:102)
    6. android.os.Looper.loop(Looper.java:158)
    7. android.app.ActivityThread.main(ActivityThread.java:7237)
    7 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  11. Android
    ZygoteInit$MethodAndArgsCaller.run
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    1 frame