Rendering Problems The following classes could not be found: android.support.constraint.ConstraintLayout

不问归期 提交于 2020-07-22 07:08:06

问题


I have added ConstraintLayout 1.0.0 to my project as a dependency and it builds successfully. But in Android Studio 2.2 in activity_main.xml in Design tab I always receive this message:

Rendering Problems The following classes could not be found: - android.support.constraint.ConstraintLayout (    Add constraint-layout library dependency to the project, Fix Build Path, Edit XML, Create Class) Tip: Try to build the project. Tip: Try to refresh the layout.

Because of that visual editor doesn't display components I add.

What to do?

来源:https://stackoverflow.com/questions/42442240/rendering-problems-the-following-classes-could-not-be-found-android-support-con

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!