简体   繁体   English

如何将自定义日志发送到Google Play开发者控制台?

[英]How to send custom logs to Google Play Developer Console?

I had uploaded my android application to Google Play . 我已将我的Android应用程序上传到Google Play My application is running fine. 我的应用运行正常。 But on some devices, it have some issues. 但在某些设备上,它存在一些问题。 Whenever my application gets crashed Google Play Developer Console received that error. 每当我的应用程序崩溃时,Google Play Developer Console都会收到该错误。 It's like: 就像是:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.asdasd.dfgdfgdfgd/com.asdasd.dfgdfgdfgd.SplashScreenActivity}: android.view.InflateException: Binary XML file line #19: Error inflating class android.widget.ImageView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1659)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1675)
at android.app.ActivityThread.access$1500(ActivityThread.java:121)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:943)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3701)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:624)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #19: Error inflating class android.widget.ImageView
at android.view.LayoutInflater.createView(LayoutInflater.java:518)
at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
at android.view.LayoutInflater.inflate(LayoutInflater.java:408)
at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:227)

With this kind of Log i can't find which android device producing that error & with what android OS. 有了这种日志,我无法找到哪个Android设备产生该错误&与什么Android操作系统。

Is there any way to send custom Logs to developer console on Application Crash? 有没有办法在Application Crash上将自定义日志发送到开发人员控制台?

No and the Android automatic error reporting is not worth using. 不,Android自动错误报告不值得使用。 The user comments are separated from the error and you get no indication of which device it came from. 用户注释与错误分开,您无法指示它来自哪个设备。

Try out http://www.bugsense.com/ as it is much more comprehensive and free for low usage. 试试http://www.bugsense.com/,因为它更全面,免费使用率低。 You can add custom additions to your logs with this but only on the paid accounts. 您可以使用此选项向您的日志添加自定义添加内容,但仅限付费帐户。

Update: Bugsense is now Splunk. 更新:Bugsense现在是Splunk。 Another option is https://fabric.io 另一种选择是https://fabric.io

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

相关问题 了解Titanium对Google Play开发者控制台的崩溃日志 - Understand Google Play Developer Console's Crash Logs with Titanium 如何从 Google Play Developer Console 中删除草稿? - How to delete a Draft from google play Developer Console? 如何从Google Play开发者控制台中删除被拒绝的应用程序? - How to remove rejected apps from Google Play Developer Console? Google Play Developer Console - 如何在其他国家/地区提供应用程序? - Google Play Developer Console - How to make app available in other countries? 如何从Google Play开发者控制台删除暂停的应用? - How delete suspended app from google play developer console? 如何从 Google Play 开发者控制台下载图片 - How can i download images from Google Play developer console 如何在Google Play开发者控制台中取消测试订阅 - How to cancel test subscription in Google play developer console 如何在 Google Play 开发者控制台中找到 Android 应用程序的帐户所有者? - How to find account owner for Android app in Google Play Developer Console? 如何从Google Play开发者控制台中删除或隐藏已暂停的应用程序? - How to remove or hide suspended app from google play developer console? 如何在Google Play开发者控制台中设置新功能 - How to set what is new in google play developer console
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM