标签: android-app-indexing

有没有人有Firebase应用程序索引工作?

在以后的实施,我能够成功地证实,谷歌机器人可以通过Android Studio中的测试指标我的应用程序(工具>安卓>谷歌应用程序索引测试).根据Google Search Console,我的应用已超过200页被编入索引.但这里遵循问题

  • 抓取谷歌总是失败
  • Firebase应用程序索引测试失败.

如果已安装该应用,则点击Google搜索结果即可打开该应用.但如果未安装该应用程序,则会转到该网站(即搜索结果中没有安装按钮).

Firebase的所有其他工作原理:应用邀请,深层链接,分析.

所以我问,有没有人实际上有Firebase应用程序索引工作?如果是这样,真的怎么样?

我的应用程序是一个带有Spinner的Activity,用户通过从微调器中选择一个项目来选择内容.并且当用户做出选择时填充片段.当然要索引,我AppIndex.AppIndexApi.start(client, getAction())在填充Fragment时调用,AppIndex.AppIndexApi.end(client, getAction())当用户选择不同的内容时调用...并重复start-end.

而不是使用Digital Asset Links我通过我的应用程序与我的网站关联Search Console.

android firebase android-app-indexing firebase-app-indexing

33
推荐指数
1
解决办法
1770
查看次数

无法解决:`com.google.android.gms:play-services-appindexing:10.0.0`

设置compile 'com.google.android.gms:play-services-appindexing:10.0.0'它时会出现以下错误:

Error:(82, 13) Failed to resolve: com.google.android.gms:play-services-appindexing:10.0.0
Run Code Online (Sandbox Code Playgroud)

并在设置compile 'com.google.android.gms:play-services-appindexing:9.8.0'它时给出以下错误:

Error:Execution failed for task ':app:processDebugGoogleServices'.
> Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 10.0.0.
Run Code Online (Sandbox Code Playgroud)

如果有人能告诉我这是错误的,那将是非常感激的,因为休息游戏服务版本10.0.0正常工作.

我的build.gradle文件

buildscript {
    repositories {
        maven { url 'https://maven.fabric.io/public' }
    }

    dependencies {
        classpath 'io.fabric.tools:gradle:1.22.0'
    }
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'

android {
    signingConfigs {

    } …
Run Code Online (Sandbox Code Playgroud)

android android-app-indexing

31
推荐指数
4
解决办法
4万
查看次数

添加深度链接到cordova应用程序

我想为我的cordova Android应用启用App Indexing,如下所述:https://developers.google.com/app-indexing/webmasters/app

不幸的是我无法找到如何为cordova应用程序执行此操作的文档.有一个插件可以收听并向Intents广播,但我不认为这会对我有所帮助:https://github.com/Initsogar/cordova-webintent

我尝试将示例XML(使用我的数据修改)添加到config.xml文件中,但是当我尝试构建应用程序时,我收到以下错误:

error: Error parsing XML: unbound prefix
Run Code Online (Sandbox Code Playgroud)

删除XML中的android:前缀时,此错误消失,但它无法正常工作.

deep-linking android-intent cordova android-app-indexing google-search-platform

20
推荐指数
1
解决办法
2462
查看次数

什么是新生成的代码"这是自动生成的,用于实现App Indexing API."?

背景

我今天刚刚创建了一个新的POC(关于活动转换,但这不是主题),我注意到在主要活动的"onCreate"方法中写了一个新行:

    // ATTENTION: This was auto-generated to implement the App Indexing API.
    // See https://g.co/AppIndexing/AndroidStudio for more information.
    mClient = new GoogleApiClient.Builder(this).addApi(AppIndex.API).build();
Run Code Online (Sandbox Code Playgroud)

和更多:

@Override
    public void onStart() {
        super.onStart();

        // ATTENTION: This was auto-generated to implement the App Indexing API.
        // See https://g.co/AppIndexing/AndroidStudio for more information.
        mClient.connect();
        Action viewAction = Action.newAction(
                Action.TYPE_VIEW, // TODO: choose an action type.
                "SinglePhotoViewer Page", // TODO: Define a title for the content shown.
                // TODO: If you have web page content that matches …
Run Code Online (Sandbox Code Playgroud)

android google-api-client android-app-indexing

18
推荐指数
1
解决办法
1万
查看次数

深层链接、Android 应用链接、Firebase 动态链接和 App Indexing 之间的区别

以下是在导航组件中使用深层链接的说明:

https://developer.android.com/guide/navigation/navigation-deep-link

它说:

显式深层链接是使用 PendingIntent 将用户带到应用内特定位置的深层链接的单个实例。当用户通过显式深层链接打开您的应用程序时,任务返回堆栈将被清除并替换为深层链接目标。

现在的问题是Deep Links, Android App Links, App Indexing, 和之间有什么区别,Firebase Dynamic Links我们应该何时使用它们中的每一个?

另外,还有一点我们应该设置所有这些吗?

android deep-linking android-app-indexing firebase-dynamic-links

16
推荐指数
1
解决办法
3817
查看次数

应用索引是即时应用在谷歌搜索中显示所必需的

我开发了一个即时应用程序并将其发布到游戏商店,还有一个与Instant App相关联的网站.从这里测试了测试工具的app链接 .

点击其他应用程序(gmail,环聊)中的链接后打开该应用程序,但是从谷歌搜索点击我的网站是打开网页而不是即时应用程序.为了将网页从Google搜索重定向到应用,我还有什么需要做的吗?

我在Play商店发布了我的即时应用程序.当我点击gmail的链接时,它会在某些设备中以即时应用程序的形式打开(三星s6 note,moto g4 plus)

在某些设备上,它不能作为即时应用程序打开,但buzzfeed.com/tasty作为即时应用程序打开.(一加3加一加5).

我的数字资产链接是https://abdcoop.mybuzztm.com/.well-known/assetlinks.json

谁能够建议我缺少什么?

android deep-linking android-app-indexing applinks android-instant-apps

15
推荐指数
1
解决办法
526
查看次数

Android Studio检测到GoogleApiClient导致内存泄漏

我创建了一个包含一个类的新项目,并从此示例中获取了以下代码:https: //developers.google.com/app-indexing/android/publish#add-app-indexing-api-calls

当我多次旋转设备然后在Android Studio中单击Dump Java Heap然后单击Analyze.我会得到一个结果显示我的MainActivity已泄露.

我创建这个示例项目的原因是因为我有一个存在内存泄漏问题的现有应用程序(StrictMode和Android Studio这样说),我的结论是我的AppIndex代码导致了问题.

它是Android Studio中的错误还是真正的内存泄漏?

public class MainActivity extends AppCompatActivity {


private GoogleApiClient mClient;
private Uri mUrl;
private String mTitle;
private String mDescription;

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    mClient = new GoogleApiClient.Builder(this).addApi(AppIndex.API).build();
    mUrl = Uri.parse("http://examplepetstore.com/dogs/standard-poodle");
    mTitle = "Standard Poodle";
    mDescription = "The Standard Poodle stands at least 18 inches at the withers";
}


public Action getAction() {
    Thing object = new Thing.Builder()
            .setName(mTitle)
            .setDescription(mDescription)
            .setUrl(mUrl)
            .build();

    return new Action.Builder(Action.TYPE_VIEW)
            .setObject(object) …
Run Code Online (Sandbox Code Playgroud)

android memory-leaks google-play-services android-studio android-app-indexing

10
推荐指数
1
解决办法
1685
查看次数

从appcenter.ms发布Android应用程序时,请将查询参数changesNotSentForReview设置为true

我正在尝试从 appcenter.ms 构建和分发 Android 应用程序。最初,我在推出第三次更新后遭到拒绝,我尝试重建更改。但是在分发到商店时我遇到了以下问题。

由于错误而无法提交编辑。更改无法自动发送以供审核。请将查询参数changesNotSentForReview设置为true。提交后,可以从 Google Play 控制台 UI 发送此编辑中的更改以供审核。

我不想从 Google Play Console UI 进行更改,只想从 appcenter.ms 进行更改。如何在代码中设置该参数。帮助将非常可观!

android android-app-indexing google-play-console visual-studio-app-center visual-studio-app-center-distribute

10
推荐指数
1
解决办法
7236
查看次数

App Indexing和Deep Linking有什么区别?

我已经阅读了有关Android应用程序的App Indexin g和Deep Linking的信息.

据我所知,两者都是相同的,深度链接更容易,因为它只需要在Manifest.xml文件中添加一个intent过滤器.

  1. 那么为什么我需要使用应用程序索引?

  2. 是什么让它与深层链接不同?

需要一种不同的编码方式(android)来实现

Fire Base应用程序索引

这是一个指导Fire Base应用程序索引的链接:

https://firebase.google.com/docs/app-indexing/

这有必要吗?

android deep-linking android-app-indexing

9
推荐指数
2
解决办法
2313
查看次数

如何从Google搜索网站结果推广/打开应用?

背景

当您在Android设备上的Google搜索引擎网站(通过Chrome网络浏览器)搜索"如何到达X"(其中X是地理位置,如城市名称)时,显示的第一个项目是卡片允许导航到您编写的位置.

选择导航时,有两种选择:

  • 如果Android设备安装了Google地图,则会打开该应用并在那里导航.
  • 如果Android设备没有安装Google地图,则会将其发送到应用页面的Play商店进行安装.

如下所示:

在此输入图像描述

此外,在某些情况下,对于某些内容,Google可以在其找到的网站内添加一个额外的文本框进行搜索,以获得结果.这种事情发生在希伯来语网站"Zap"(比较产品价格):

在此输入图像描述

这个问题

  1. 是否有促销计划或服务或任何以这种方式推广网站/应用程序(深层链接和搜索框)?如果是这样,我应该从哪里开始?

  2. 假设您已经有一个可以执行搜索查询的网站,您如何检查应用程序是否已安装(在网站内部,而不是通过Google的搜索引擎),并采取相应措施?这可以仅在Google Chrome应用上完成吗?

应该做什么(android-app,网站和其他代码)才能拥有这些功能?

android google-chrome google-search deep-linking android-app-indexing

8
推荐指数
1
解决办法
1769
查看次数