Google search console and app indexing: URI unsupported

被刻印的时光 ゝ 提交于 2019-12-24 12:48:27

问题


I'm trying to implement app indexing on Android.

I've got an intent-filter, the following:

            <intent-filter android:label="@string/app_name">
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:scheme="http"
                android:host="www.hotelsclick.com" />
            <data android:scheme="https"
                android:host="www.hotelsclick.com" />
        </intent-filter>

and I can call the activity from adb with this command

adb shell am start -a android.intent.action.VIEW -d "https://www.hotelsclick.com?hotel_id=135738"

Thus, I cannot manage to make the "Fetch as google" feature work.

I was wondering: how can I understand what's not working in the "fetch as google" feature? "URI unsupported" is quite a useless trace. How can I debug this?

Thank you


回答1:


"Fetch as Google" can fetch a page from either the current version on Google Play or from an APK that you upload here.

If you are using a local upload, then you will see a "tick" mark in the "Local Upload APK" column after the fetch results are shown (check image below).

Since, it is not there in the image you provided, the fetch is happening from the Google Play version of your app. Check if it has app indexing implemented in this version.



来源:https://stackoverflow.com/questions/35458775/google-search-console-and-app-indexing-uri-unsupported

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!