简体   繁体   English

fabric.io的新手,如何在Android应用程序中使用它?

[英]New to fabric.io, how to use this for Android app?

I am new to fabric.io. 我是fabric.io的新手。 How to integrate and use this for finding crashing data? 如何集成和使用它来查找崩溃的数据?

I've followed the official documentation but still I am not able to run my app using this. 我已经遵循了官方文档,但是仍然无法使用此应用程序运行我的应用程序。

Still in website it showing you have to run the app! 仍在网站上,它表明您必须运行该应用程序!

see this pic 看到这张照片

This is the thing it shows after done this steps 这是完成此步骤后显示的内容

see this pic 看到这张照片

Okay, I have actually played with Fabric. 好的,我实际上是在玩Fabric。 If you have not done so, installed the plugin for Android Studio. 如果尚未安装,请安装Android Studio插件。 Once installed, you can use the plugin to add Crashlytics to your project. 安装后,您可以使用插件将Crashlytics添加到您的项目中。 It can automatically add the code necessary to your project for it to work. 它可以自动将必需的代码添加到您的项目中以使其正常工作。 After that build and run your application on a device. 之后,在设备上构建并运行您的应用程序。

  1. Open the Fabric plugin from one of the two buttons. 从两个按钮之一打开Fabric插件。 从两个按钮之一打开Fabric插件。
  2. Click on the icon that looks like a power icon. 单击看起来像电源图标的图标。 单击看起来像电源图标的图标。
  3. Select organization to use. 选择要使用的组织。 选择组织。
  4. Select kit to use, in this case Crashlytics. 选择要使用的套件,在这种情况下为Crashlytics。 选择要使用的套件。
  5. Install the kit selected by pressing install. 通过按安装来安装所选的套件。 安装套件。
  6. Apply the changes to be made to your code. 应用要对代码进行的更改。 应用更改。
  7. Run application on a device. 在设备上运行应用程序。 运行应用
  8. After the application runs, the plugin will show that Crashlytics is installed and keep pressing back until you get to your application in the plugin. 应用程序运行后,该插件将显示Crashlytics已安装,并不断按回去,直到您通过插件进入应用程序为止。 验证并返回。

And that is it. 就是这样。 The plugin REALLY makes it easy. 插件真的很容易。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM