netease-kit/nim-uikit-android

集成Uikit,动态集成消息列表,收到消息点击崩溃,确认一点代码没改动。

Closed this issue · 2 comments

android.view.InflateException: Binary XML file line #74: Binary XML file line #2: Error inflating class layout
Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class layout
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.layout" on path: DexPathList

反馈给网易云信工单,说UI不归他们管,那你们提供的这个得好使啊,说引用xml中第二行布局报错问题里面什么都没有啊。如何排查????????????????
版本7.8.1
android:30
只集成了urkit
集成代码:

getActivity().getSupportFragmentManager().beginTransaction()
            .add(R.id.recent_contacts_fragment, new RecentContactsFragment())
            .commit();

收到消息点击消息进入聊天界面崩溃提示上诉错误。
至此结束。

报错文件:MessageFragment  83行引用的xml 中的74行一个include   的
nim_message_activity_bottom_layout中的第二行
### 再次强调:没有改动过任何uikit中的半个字符layout文件。

反馈下:我又找到了7.7的版本sdk demo,在原自己项目上只替换了sdk 和对应uikit ,可正常运行。