Android studio 为什么它会显示;错误:格式不正确(无效令牌)。”;在安卓工作室

Android studio 为什么它会显示;错误:格式不正确(无效令牌)。”;在安卓工作室,android-studio,Android Studio,我最近下载了android studio。在那里我看到了一个错误 “错误:格式不正确(无效令牌)。”我不明白为什么,但这是我的代码: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://sch

我最近下载了android studio。在那里我看到了一个错误 “错误:格式不正确(无效令牌)。”我不明白为什么,但这是我的代码:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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:background="@drawable/car"
    app:layout_behavior="@string/appbar_scrolling_view_behavior">

</RelativeLayout>  

我尝试了2-3个小时,任何帮助都将不胜感激。
请帮助我现在该怎么办?

您好,欢迎来到S.O.在这个布局中显示的错误在哪里?您是否尝试过在Android Studio中使缓存无效并重新启动?您是否尝试过创建新的XML布局?XML是否位于正确的res/layout文件夹中?当我遇到这个问题时,我尝试在Stack overflow上搜索它,经过大量研究,我最终得到了答案,问题得到了解决。对不起,没有让任何人。但我还是想听听你的建议。