AS中出现此处错误
java.lang.ClassNotFoundException: Didn't find class xxxx
说明你导入的XXX.class没有成功可能,本人是因为在自定义控件中,导入的类出现错误,导错了类。
**<com.example.project.views.FlowTextLayout**
android:id="@+id/recommend_hot_word_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp" />
建议出现此错误时仔细检查是否导错了类