android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRoot$W@2b009e10 -- permission denied for this window type

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via b4x.com by Unknown author, 1 year ago
Unable to add window android.view.ViewRoot$W@2b009e10 -- permission denied for this window type
via Stack Overflow by ashish.n
, 2 years ago
Unable to add window -- token null is not for an application
via Stack Overflow by michael
, 10 months ago
Unable to add window -- token null is not for an application
via xluat.com by Unknown author, 2 years ago
via Stack Overflow by Yogesh Somani
, 2 years ago
Unable to add window -- token null is not for an application
via dolinked.com by Unknown author, 2 years ago
Unable to add window -- token null is not for an application
android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRoot$W@2b009e10 -- permission denied for this window type
at android.view.ViewRoot.setView(ViewRoot.java:570)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
at com.rootsoft.standout.StandOutWindow.show(StandOutWindow.java:1440)
at com.rootsoft.standout.StandOutWindow.onStartCommand(StandOutWindow.java:716)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2060)
at android.app.ActivityThread.access$2800(ActivityThread.java:121)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1006)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3701)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)

Users with the same issue

6 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 1 year ago
1805 times, 1 month ago

Write tip

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