Android 资源在项目外部定义,无法更新

Android 资源在项目外部定义,无法更新,android,Android,我正在Android Studio中编写一个Android应用程序,当我尝试重命名TextView时,它会抛出以下错误: The resource <B>@id/message</B> is defined outside of the project (in one of the libraries) and cannot be updated. This can change the behavior of the application.<BR/><

我正在Android Studio中编写一个Android应用程序,当我尝试重命名TextView时,它会抛出以下错误:

The resource <B>@id/message</B> is defined outside of the project (in one of the libraries) and cannot be updated. This can change the behavior of the application.<BR/><BR/>Are you sure you want to do this?<BR/><BR/>Unhandled references:<BR/>
resource@id/message在项目外部(在其中一个库中)定义,无法更新。这可能会更改应用程序的行为。

是否确实要执行此操作?

未处理的引用:
我以前从未见过这个错误,在互联网上也找不到任何关于它的信息,所以我认为它与新的3.6更新有关,但我不知道这个错误可能指的是什么库。感谢您的帮助

编辑:以下是TextView的XML:

<TextView
    android:id="@+id/message"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:layout_marginStart="16dp"
    android:layout_marginTop="32dp"
    android:layout_marginEnd="16dp"
    android:ems="10"
    android:text="Do not set time more than 1 hour ahead for 24 hours behind"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/selectedContact" />

我不确定您是否已完整地向我们提供了您收到的所有错误消息(“未处理的引用”是什么?)。但我会尽量回答正确(我已经有过一次这样的案例)。 就我个人而言,我未处理的引用是builg.gradle的缓存文件:我在Kotlin中编程并使用插件(
apply plugin:'Kotlin android extensions'
),该插件允许自动创建与xml布局文件中视图ID对应的视图变量。 解决方案(在本例中)是根据需要重命名Textview,然后(如有必要)同步build.gradle。
希望能帮助他人。

显示您试图重命名的文本视图的xml