Android studio Namespace 'tools' is not bound!!

For example

<activity
    android:name="com.google.android.gms.ads.AdActivity"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
    tools:replace="android:theme"
    />

Add

xmlns:tools="http://schemas.android.com/tools"

at the top of the manifest (or activity).

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.mypackage"
    xmlns:tools="http://schemas.android.com/tools">
发布了15 篇原创文章 · 获赞 1 · 访问量 2239

猜你喜欢

转载自blog.csdn.net/a5671667/article/details/102778479