Googlesearch(android lint)不支持应用程序索引

在Android工作室上分析我的代码(分析>检查代码)时,我收到了这个lint警告。

Googlesearch不能将应用编入索引; 考虑使用ACTION-VIEW intent-filler添加至less一个Activity。 有关更多详情,请参阅问题说明

这是什么警告,以及如何使我的应用程序可以通过Googlesearch索引? 这对search引擎优化听起来很重要,但是我在Google上找不到任何细节。

我也想知道如何从android studio中访问“问题解释”。

在这里输入图像说明

我发现如何访问“问题解释”。 我需要将鼠标hover在检查错误上以显示完整的问题说明(并按Ctrl-F1)

在这里输入图像说明

所以我缺less的关键字是“深层链接”!

以下是安卓开发人员的页面,可以进行深层次的链接: “让Google抓取您的应用内容并允许用户从search结果中input您的应用”

http://developer.android.com/training/app-indexing/deep-linking.html

以下是如何做深层链接的代码片段。 我不知道Google如何通过添加它来抓取我的应用程序…

<activity android:name="com.example.android.GizmosActivity" android:label="@string/title_gizmos" > <intent-filter android:label="@string/filter_title_viewgizmos"> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <!-- Accepts URIs that begin with "http://www.example.com/gizmos” --> <data android:scheme="http" android:host="www.example.com" android:pathPrefix="/gizmos" /> <!-- note that the leading "/" is required for pathPrefix--> <!-- Accepts URIs that begin with "example://gizmos” <data android:scheme="example" android:host="gizmos" /> --> </intent-filter> </activity> 

还有一个说明说

 Note: Intent filters may only contain a single data element for a URI pattern. Create separate intent filters to capture additional URI patterns.