简体   繁体   English

通过单击图标而不是通过 Play 商店打开时应用程序崩溃

[英]App crash when opened by clicking on icon, but not through Play Store

I just received reports from some of my users who's running Lollipop, they're saying that my app would crash (with the message: App Stop Working) if they tried to launch it by clicking on my app's icon on their home screen.我刚刚收到一些运行 Lollipop 的用户的报告,他们说如果他们尝试通过单击主屏幕上我的应用程序图标来启动它,我的应用程序会崩溃(并显示消息:应用程序停止工作)。 But if they launch my app from Google Play Store, the app would work without any problem.但如果他们从 Google Play 商店启动我的应用程序,该应用程序将毫无问题地运行。

What could be the cause of this?这可能是什么原因? If it's any help, here's my app https://play.google.com/store/apps/details?id=com.imincode.meniti如果有帮助,这是我的应用程序https://play.google.com/store/apps/details?id=com.imincode.meniti

Btw there's no mention of any Crashes/ANR in my Google Play Developer Console.顺便说一句,我的 Google Play Developer Console 中没有提到任何崩溃/ANR。

The issue is you need to get the stack trace.问题是您需要获取堆栈跟踪。 Google Developer console is not sufficient in tracking bugs in your app. Google Developer Console 不足以跟踪您的应用程序中的错误。 It misses the vast majority of in app crashes.它错过了绝大多数应用程序崩溃。 I think there are a few options here.我认为这里有几个选择。

1) I would try replicating this with the emulator and see if you can get the stack trace there. 1)我会尝试用模拟器复制它,看看你是否可以在那里获得堆栈跟踪。

2) I would embed a high quality crash tracking library in your application to be able to better handle this in the future. 2) 我会在您的应用程序中嵌入一个高质量的崩溃跟踪库,以便将来能够更好地处理这个问题。 Currently I would recommend using Crashlytics .目前我会推荐使用Crashlytics In my opinion they have the best crash reporting library on the market today.在我看来,他们拥有当今市场上最好的崩溃报告库。 ACRA was very good several years ago before professional products came out, but does not hold up compared to modern trackers like Crashlytics.几年前,在专业产品问世之前,ACRA 的表现非常好,但与 Crashlytics 等现代跟踪器相比,它并没有站得住脚。

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

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