App is not indexable by Google Search
AndroidManifest.xml 에서 아래와 같은 경고가 발생하는 것을 볼 수 있다.
App is not indexable by Google Search; consider adding at least one Activity with an ACTION-VIEW intent filter. See issue explanation for more details.
이 경고를 해결하는 법은 아주 간단하다. 아래의 소스처럼 android.intent.action.VIEW 액션을 한 줄 추가해준다.
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
저 경고를 좀 더 살펴보면 아래와 같은 메세지를 볼 수 있다.
App is not indexable by Google Search; consider adding at least one Activity with an ACTION-VIEW intent filter. See issue explanation for more details. less... (Ctrl+F1)
Inspection info:Adds URLs to get your app into the Google index, to get installs and traffic to your app from Google Search.
Issue id: GoogleAppIndexingWarning
More info: https://developer.android.com/studio/write/app-link-indexing
위 내용은 사용자가 개발한 앱으로 더 많은 유입을 유도하고, 내 앱에서 어떤 컨텐츠를 많이 사용하는지 알아내기 위한 App link Indexing 기능을 사용하라는 경고이다. 나의 앱을 더 최적화 할 수 있는 방법을 알려주기 위한 설정 방법인듯 하다.
사실 없어도 앱을 개발하는 데는 아무 문제가 없다.
출처: https://like-tomato.tistory.com/164 [토마토의 일상 얘기]
https://developer.android.com/studio/write/app-link-indexing