LoginSignup
1
0

More than 5 years have passed since last update.

新規テンプレートを使ったアプリ作成時のAndroidManifest.xmlでApp Indexingがされていない警告を消す

Posted at

結論

  • AndroidManifest.xmlに以下を追加する。
AndroidManifest.xml
    <application
            android:allowBackup="true"
            android:icon="@mipmap/ic_launcher"
            android:label="@string/app_name"
            android:roundIcon="@mipmap/ic_launcher_round"
            android:supportsRtl="true"
            android:theme="@style/AppTheme"
            tools:ignore="GoogleAppIndexingWarning"> <!-- この一行を追加 -->

補足

  • アプリの作成時にいつも忘れるからメモ程度に書いた。

  • App IndexingはGoogleの検索結果からアプリに直接飛んだり、SEOに強くなるための仕組みなので、モックレベルのアプリ作成時には警告を無視して良さそう。

  • https://www.seohacks.net/basic/terms/appindexing/

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0