简体   繁体   中英

how to fix “Exception raised during rendering: android.view.View cannot be cast to android.view.ViewGroup”

1 I think the problem was that I updated to a new version of Android Studio in the middle of the project, maybe that's why the view group didn't appear, What should I do?

Studio is simply telling the problem, that View can not be casted to ViewGroup, you must have done that somewhere in your code, fix that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM