android.util.AndroidRuntimeException: requestFeature() must be called before adding content**

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by HanteIsHante
, 1 year ago
requestFeature() must be called before adding content**
via Google Groups by PS, 2 months ago
requestFeature() must be called before adding content
via ocddevelopers.com by Unknown author, 1 year ago
android.util.AndroidRuntimeException: requestFeature() must be called before adding content**
at com.example.hante.newprojectsum.activitys.WelcomeActivity.onCreate(WelcomeActivity.java:35)
at android.app.Activity.performCreate(Activity.java:6303)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2376)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2483)
at android.app.ActivityThread.access$900(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1349)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5442)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738)

Users with the same issue

4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago

Know the solutions? Share your knowledge to help other developers to debug faster.