android.app.SuperNotCalledException: Activity {com.example.android.favoritetoys/com.example.android.favoritetoys.MainActivity} did not call through to super.onCreate()

Stack Overflow | Jeetendra Gan | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Why does my android app gets forced closed in the emulator on android studio?

    Stack Overflow | 4 months ago | Jeetendra Gan
    android.app.SuperNotCalledException: Activity {com.example.android.favoritetoys/com.example.android.favoritetoys.MainActivity} did not call through to super.onCreate()
  2. 0
    samebug tip
    As of SDK 23, you have to call this method with ContextCompat.getColor(context, R.color.my_color) so it works with previous API as well. Also, you have to add the support V4 library to your dependencies: "compile 'com.android.support:support-v4:23.0.1'"
  3. 0

    Android app facing null pointer exception

    Stack Overflow | 2 years ago | Akash Aggarwal
    android.util.SuperNotCalledException: Activity {com.example.akash.myapplication/com.example.akash.myapplication.MainActivity} did not call through to super.onCreate()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    having issue with having a pop up dialog for user to key in username

    Stack Overflow | 3 years ago | Chloe
    android.app.SuperNotCalledException: Activity {com.example.fuellogproject/com.example.fuellogproject.homeActivity} did not call through to super.onCreate()
  6. 0

    How to open image in full screen by clicking on listview in android tutorial app

    Stack Overflow | 2 years ago | jayant
    android.app.SuperNotCalledException: Activity {com.example.truzzapp/com.example.truzzapp.FullScreenImage} did not call through to super.onCreate()

    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.app.SuperNotCalledException

      Activity {com.example.android.favoritetoys/com.example.android.favoritetoys.MainActivity} did not call through to super.onCreate()

      at android.app.ActivityThread.performLaunchActivity()
    2. Android Platform
      ActivityThread.main
      1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2177)
      2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
      3. android.app.ActivityThread.access$600(ActivityThread.java:141)
      4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
      5. android.os.Handler.dispatchMessage(Handler.java:99)
      6. android.os.Looper.loop(Looper.java:137)
      7. android.app.ActivityThread.main(ActivityThread.java:5103)
      7 frames
    3. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:525)
      2 frames
    4. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
      2 frames
    5. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame