Dev/Android
[Android] App is not indexable by Google Search; consider adding at least one Activity with an ACTION-VIEW intent filter.
hau
2019. 10. 10. 11:34
728x90
해당현상
해결책: Manifest.xml의 <intent-filter> 사이에 아래의 코드 추가
<action android:name="android.intent.action.VIEW" />
<예시>
- 기존
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<application
android:name="경로.MyApp"
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:largeHeap="true">
<activity
android:name="경로.LogInActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateHidden">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
|
cs |
- 변경
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<application
android:name="경로.MyApp"
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:largeHeap="true">
<activity
android:name="경로.LogInActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="stateHidden">
<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>
</application>
|
cs |
Reference
728x90