java.lang.RuntimeException: Unable to start activity ComponentInfo{fr.xxx.xxx.dev/fr.xxx.xxx.ui.activities.HomeActivity}: java.lang.RuntimeException: Adding window failed

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 Stack Overflow by Johnny
, 1 year ago
Unable to start activity ComponentInfo{fr.xxx.xxx.dev/fr.xxx.xxx.ui.activities.HomeActivity}: java.lang.RuntimeException: Adding window failed
via Stack Overflow by Abhinav Tyagi
, 10 months ago
Unable to start activity ComponentInfo{com.example.androidthings.myproject/com.example.androidthings.myproject.MainActivity}: java.lang.RuntimeException: start failed.
via GitHub by tjg1
, 1 year ago
Unable to start activity ComponentInfo{com.cuddlesoft.nori/com.cuddlesoft.nori.ImageViewerActivity}: android.util.AndroidRunti meException: Window feature must be requested before adding content
via Stack Overflow by user3286878
, 2 years ago
Unable to start activity ComponentInfo{com.scrc.studiocrew.screenrecorder/com.scrc.studiocrew.screenrecorder.MainActivity}: java.lang.RuntimeException: setAudioSource failed.
via Stack Overflow by Charlie Skilbeck
, 1 year ago
Unable to start activity ComponentInfo{com.dogtail/com.dogtail.VideoRecorder}: java.lang.RuntimeException: setVideoSource failed.
via Stack Overflow by Tsur Yohananov
, 5 months ago
Unable to start activity ComponentInfo{com.example.tsuryohananov.voicerecorder/com.example.tsuryohananov.voicerecorder.MainActivity}: java.lang.RuntimeException: setAudioSource failed.
java.lang.RuntimeException: Unable to start activity ComponentInfo{fr.xxx.xxx.dev/fr.xxx.xxx.ui.activities.HomeActivity}: java.lang.RuntimeException: Adding window failed
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

Users with the same issue

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

Write tip

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