Fabric Crashlytics卡在构建和运行中 [英] Fabric Crashlytics stuck on build and run
问题描述
当前,我正在尝试将Crashlytics集成到Android应用程序中.但是我无法识别该应用并将其添加到Fabric仪表板.
Currently, I'm trying to integrate Crashlytics into an Android Application. However I can't get the app to be recognized and added to the Fabric Dashboard.
按照以下步骤使用Android Studio Fabric插件时:
When using the Android Studio Fabric plugin following these steps:
- 新应用
- 选择Crashlytics
- 应用代码更改
- 同步gradle
- 重建项目
- 在设备(非虚拟)上构建应用
但是,当我这样做时,Fabric插件仍然停留在请构建并运行您的应用程序"屏幕上,并最终显示错误消息已经有一段时间了.需要帮助吗?"
However when I do this, the Fabric plugin is still stuck on the "Please build and run your application" screen, and eventually gives an error message "It's been a while. Need some help?"
我还尝试通过使用以下链接自己添加代码来手动安装Crashlytics: https ://fabric.io/kits/android/crashlytics/install
I've also attempted to install Crashlytics manually, by adding the code myself using this link: https://fabric.io/kits/android/crashlytics/install
但是当我构建应用程序时,Fabric Dashboard仍然没有任何反应.
But when I build the application, still nothing happens within my Fabric Dashboard.
我试图再次检出该分支,然后重新添加此代码,但无济于事.我还尝试过重新安装Fabric IDE插件,重新启动Android Studio并重新启动计算机.
I've attempted checking out the branch again and re-adding this code to no avail. I've also tried reinstalling the Fabric IDE plugin, restarting Android Studio and Restarting my machine.
按照这些相同的步骤,我已经成功地将Crashlytics添加到其他应用程序中.
I have successfully added Crashlytics to other applications following these same steps.
有什么想法吗?
推荐答案
我只是遇到了同样的问题-在应用程序启动期间,Fabric-plugin屏幕上没有显示请生成并运行您的应用程序"的消息.
I just had the same problem - nothing happened in the Fabric-plugin screen saying "Please build and run your application" during app-launches.
在我禁用即时运行"(首选项">构建执行部署">即时运行")然后重新构建并运行该应用程序后,它开始工作.
It started working after I disabled Instant Run (Preferences > Build Execution Deployment > Instant Run) then rebuilt and run the app.
这篇关于Fabric Crashlytics卡在构建和运行中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!