This is a migrated thread and some comments may be shown as answers.

Unable to add window -- token android.view.ViewRootImpl$W@c8be37d is not valid

1 Answer 234 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Nico
Top achievements
Rank 1
Veteran
Iron
Nico asked on 11 Feb 2021, 11:45 AM

Hello!
I have a popu that has a contentview with a radcombobox.
When I want to open the combobox to show the elements my application crashes with the following exception:

"Android.Views.WindowManagerBadTokenException: 'Unable to add window -- token android.view.ViewRootImpl$W@c8be37d is not valid; is your activity running?'"

What is wrong here?

Best regards,
Nico

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 11 Feb 2021, 03:02 PM

Hello Nico,

It seems you've come upon a known limitation related to Android PopupWindow - in short you cannot open a popup from a popup. In the concrete case the ComboBox dropdown is the second popup.  

I am afraid the result is that placing a RadComboBox inside a RadPopup is a not-supported scenario on Android.

Let me know if I can assist with anything else.

Regards,
Yana
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
ComboBox
Asked by
Nico
Top achievements
Rank 1
Veteran
Iron
Answers by
Yana
Telerik team
Share this question
or