一直找不到FragmentMineInfoBinding的原因是因为fragment_mine_info.xml 里一个@+id都没有加
原来布局:
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
>
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="test"
/>
</layout>
修改后的布局
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
>
android:layout_width="match_parent"
android:layout_height="match_parent">
android:id="@+id/test"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="test"
/>
</layout>