java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myproject/com.myproject.activity.ManageCamerasActivity}: java.lang.IllegalStateException: Configuration cannot be changed after the prompt is first displayed.

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

Samebug tips

,

Create an empty public constructor in your code.

Solutions on the web

via GitHub by alexeyvasilyev
, 1 year ago
Unable to start activity ComponentInfo{com.myproject/com.myproject.activity.ManageCamerasActivity}: java.lang.IllegalStateException: Configuration cannot be changed after the prompt is first displayed.
via Stack Overflow by Anil
, 2 weeks ago
Unable to start activity ComponentInfo{}: java.lang.IllegalStateException: InterstitialAd cannot be loaded while being displayed. Make sure your adapter calls adapterListener.onInterstitialDismissed().
via Stack Overflow by AnProgRammer
, 1 year ago
Unable to start activity ComponentInfo{com.math.mathquiz/com.math.mathquiz.HighScoreActivity}: java.lang.IllegalStateException: PreferencesManager is not initialized, call initializeInstance(..) method first.
via GitHub by cutiko
, 11 months ago
Unable to start activity ComponentInfo{company.coolapp/com.firebase.ui.auth.ui.idp.AuthMethodPickerActivity}: java.lang.IllegalStateException: Must start Twitter Kit with Fabric.with() first
via Stack Overflow by Federico Taschin
, 1 month ago
Unable to start activity ComponentInfo{com.example.nicoladalmaso.gruppo1/com.example.ingsw.gruppo3.MainActivity}: java.lang.IllegalStateException: Room cannot verify the data integrity. Looks like you've changed schema but forgot to update the version number. You can simply fix this by increasing the version number.
via GitHub by alexmelyon
, 1 year ago
Unable to start activity ComponentInfo{com.Company.Game/com.Company.Game.M3Rush.M3ExtendActivity}: java.lang.IllegalStateException: Auth.GOOGLE_SIGN_IN_API cannot be used with Games.API
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myproject/com.myproject.activity.ManageCamerasActivity}: java.lang.IllegalStateException: Configuration cannot be changed after the prompt is first displayed.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

Users with the same issue

66 times, 3 weeks ago
Once, 2 months ago
33 times, 3 months ago
8 times, 3 months ago
468 times, 4 months ago

Write tip

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