'Unexpected namespace prefix "app"'在Android磨损模块

'Unexpected namespace prefix "app"' in Android wear module

我添加了一个新的 android 磨损模块 on this Google doc

但我收到标题中描述的错误。这是我的布局。

<?xml version="1.0" encoding="utf-8"?>
<android.support.wear.widget.BoxInsetLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/dark_grey"
    android:padding="@dimen/box_inset_layout_padding"
    tools:context=".MainWearActivity"
    tools:deviceIds="wear">  

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:padding="@dimen/inner_frame_layout_padding"
        app:boxedEdges="all">  <---this is the offending line 

        <android.support.v7.widget.AppCompatTextView
            android:id="@+id/text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/hello_world" />

    </FrameLayout>
</android.support.wear.widget.BoxInsetLayout>

有人知道这是怎么回事吗?我感谢解释为什么我会收到此错误。 更新:我删除了多余的 android 前缀。 Android studio 要求我将应用程序前缀更改为 android,但即使这样做,错误仍然存​​在。现在是安全的时间假设它是一个错误吗?

根据 Mike M 的建议,我右键单击错误并在 Android studio 中选择抑制。我的框架布局现在看起来像这样。但是我目前不知道是什么导致了警告。

<FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:padding="@dimen/inner_frame_layout_padding"
        app:boxedEdges="all"
        tools:ignore="MissingPrefix">

这似乎暂时有效。