java.lang.RuntimeException

Unable to start activity ComponentInfo{pt.isec.tp.am/pt.isec.tp.am.MyPreferencesActivity}: android.util.AndroidRuntimeException: requestFeature() must be called before adding content

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3524

  • via Stack Overflow by Hasan Al-Hallaq
    ,
  • via Stack Overflow by Josete Manu
    ,
  • via Stack Overflow by jcrossley
    ,
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{pt.isec.tp.am/pt.isec.tp.am.MyPreferencesActivity}: android.util.AndroidRuntimeException: requestFeature() must be called before adding content at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2543) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2609)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown UserUnknown User
    5 times, last one
    ReichReich
    65 times, last one
    filipebatistafilipebatista
    6 times, last one
    SacchiSacchi
    210 times, last one
    asion wangasion wang
    Once,
    103 more bugmates