java.lang.RuntimeException:
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2957)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3032)
at android.app.ActivityThread.-wrap11 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1696)
at android.os.Handler.dispatchMessage (Handler.java:105)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6944)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)
Caused by: java.lang.IllegalStateException:
at android.app.Activity.onCreate (Activity.java:1038)
at androidx.core.app.ComponentActivity.onCreate (ComponentActivity.java:85)
at androidx.activity.ComponentActivity.onCreate (ComponentActivity.java:323)
at androidx.fragment.app.FragmentActivity.onCreate (FragmentActivity.java:273)
at com.heinrichreimersoftware.materialintro.app.IntroActivity.onCreate (IntroActivity.java:176)
at com.mypackage.MyIntroActivity.onCreate (MyIntroActivity.kt:12)
at android.app.Activity.performCreate (Activity.java:7183)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1220)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2910)
java.lang.RuntimeException: at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2957) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3032) at android.app.ActivityThread.-wrap11 (Unknown Source) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1696) at android.os.Handler.dispatchMessage (Handler.java:105) at android.os.Looper.loop (Looper.java:164) at android.app.ActivityThread.main (ActivityThread.java:6944) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374) Caused by: java.lang.IllegalStateException: at android.app.Activity.onCreate (Activity.java:1038) at androidx.core.app.ComponentActivity.onCreate (ComponentActivity.java:85) at androidx.activity.ComponentActivity.onCreate (ComponentActivity.java:323) at androidx.fragment.app.FragmentActivity.onCreate (FragmentActivity.java:273) at com.heinrichreimersoftware.materialintro.app.IntroActivity.onCreate (IntroActivity.java:176) at com.mypackage.MyIntroActivity.onCreate (MyIntroActivity.kt:12) at android.app.Activity.performCreate (Activity.java:7183) at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1220) at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2910)
Device