0

我在嵌套包默认包中有自定义视图:com.example.testing 我在子包中创建了一个自定义类视图,如 com.example.testing.login.pinview并插入到如下布局中

<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <com.example.testing.login.pinview
            android:id="@+id/testingview"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />


    </RelativeLayout>

</layout>

重建android项目后我收到错误

错误:包登录不存在

即使我已经在 gradle 中启用了数据绑定

请任何人帮助我从 2 天开始

4

0 回答 0