3

我在应用索引中遇到了一个奇怪的问题。我们的 Play 商店 APK 使用旧版本的应用索引 API,并且运行良好。应用程序为谷歌搜索结果编入索引。但是,在我迁移到 fire base 并更新 App Indexing API 后,应用程序不会在搜索结果中编入索引。我已经尝试了以下测试技术,并且一切正常。

1. Testing a URL
2. Android Debug Bridge
3. Testing App Indexing API behavior
4. Android Studio -> run -> configuration test
5.  HTTP URL testing tool using bar code scanner app

我在以下 2 个测试中遇到错误:

1. Google App Indexing Test from Android Studio : 
    Error :
    Network error, please try later.
    1. Google cannot index this page using Google bot crawling.
    2.  Google cannot index this page using the App Indexing API.   

但是网络连接很好

2. Preview Search Result on Android:
    Error :
   Getting : ERROR:Google can't find your URL in the index. Check for correct formatting and provide at least one HTTP/HTTPS scheme URL.  This is informed to server team. But they negleted it saying, even for other app urls, getting same error.

在这两种情况下,url 格式都是 : "android-app/package-name/scheme/host/path" 。我们在这里使用了自定义方案。

我还使用测试 APK 尝试了 Fetch as Google 测试:

在 2 个场景中测试了 APK:

1. Test APK,  landing page(without uri), throws internal error
2. Test APK, app URI, no error -> showed deep linked story preview in the app

根据文档内部错误意味着: android:minSdkVersion must be at least 17 (in my AndroidManifest.xml is 15)或者我的应用程序无法在 x86 硬件上运行(我不知道)并且相同的测试在 Play 商店构建中有效,没有任何错误。

Note : Auto Complete search is working

大多数测试工作正常。但他们都没有出现在我的搜索结果中。但同样的故事在 Playstore 构建中被正确索引。是因为,我安装了测试 APK 吗?

此外,In google App ->Phone Search -> my app is not listed.在列出我们的应用程序的设备中,搜索结果仅在这些设备中显示,当它们在测试 APK 上时。但它不适用于手机搜索中未列出应用程序的设备。根据文档,它默认列出打开应用程序的时间。但在我的手机中没有发生。有没有办法手动启用它们?

4

0 回答 0