App crashes after downloading from Play Store?

随声附和 提交于 2019-12-11 03:13:46

问题


My app works fine in all devices before uploading it to play store. Now i have upload new version.

android:versionCode="7"
android:versionName="6.2"

Please tell me how can i see logcat after downloading my app from Play Store. Is it possible to detect or get error . How can i resolve this issue.

One problem i found while building apk was.

I have enabled proguard. now i delete that file proguard-project.txt . then eclipse let me create an apk . Now tell me how to resolve this issue.

My half problem will be solved if someone tell me how to see logcat of an app after downloading it from eclipse.

Thanks in Advance.


回答1:


When app crashes you can see two buttons, force stop / OK and report. Click on report button and there you will find various tabs. In one of the tabs you will get stacktrace.




回答2:


To see logs just use 'adb' tool. Connect device, type in a console:

adb logcat

And launch your app.

And I would recommend you to use some service which logs app crashes and exceptions. For instance https://crashlytics.com



来源:https://stackoverflow.com/questions/24674095/app-crashes-after-downloading-from-play-store

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!