How to get logs of app from android without using android studio? - android

I have given App to my friend but its not working.I want to know the issue so that I want log file of my App.Is there anyway to get logs from android without using android studio or any debugger tool.I want only log file to get solve issue.So What is the way to get log file from android device.
Thanks in advance.

Use Fabric io Crashlytics for reports and errors
for more information visit: https://fabric.io/kits/android/crashlytics

You can use firebase log events.

Best way is to add Firebase inside your app, With the help of Firebase Crashing Report, you can check all the crashes from your app

You can use Firebase Log events. Please check the link below:
Firebase Log events

I have same question about you that's why I built the Clerk.
https://github.com/Jintin/Clerk
Clerk is an Android app can install on your device which collect log information by broadcast receiver.
By using this, you can easily delegate you log to it. And you can view the result by open the app. Leverage on LiveData it's realtime and in same device without send the log online.
Let me know if you have any other input. Thanks.

Related

How can I check why my android app crash without error

I am facing the problem where my application randomly crash without error after updating photo in firebase storage and trying to navigate to particular fragment. Last thing i got in log:
I/Process: Sending signal. PID: 8287 SIG: 9
I don't know how to check what makes application act like that. Could anyone give me advice how to check what is wrong or tell me if this log message has any tip what is happening?
It happens that an application breaks without giving a reason, but the reason always exists.
Since you are using Firebase in the project, try connecting Crashlytics to the project (included in the Firebase ecosystem), this is done very quickly and easily and then you will definitely see your error in the Firebase console.
So you can see not only detailed information and error stacktrace for your specific problem, but also crashes of your users including detailed analytical information.
Go to the Firebase console.
Click on the tab "Crashlytics" tab.
Click on the button "Enable Crashlytics".
You should update your google-services.json file.
See details info here

Tracking an app is being uninstalled before or after specific time using Firebase Analytics

I'm having an issue now, I have an android app and its using Firebase Analytics, it has a tutorial when start, and I want to track people will uninstall my app after or before tutorial. I'm tried to add custom parameter
here
and tried to log an event with this code:
Firebase.Analytics.FirebaseAnalytics.LogEvent("app_remove", "first_tutorial", 1);
but it returns an error. I still don't know how to use parameter reporting right way.
Anyone can help me?
The app_remove event is logged automatically on Android. You don't need to write any code for it.
If you want to be able to analyze how many people completed the tutorial before uninstalling, you should log your own custom event (e.g. finished_tutorial) when the user finished the tutorial. Then you can compare the event counts in the dashboard, or do more complex funnel analysis in BigQuery.

How to get a log file from end user device in Android?

I need to get logs which is stored as a log file in end user device, for getting that I can implement send feedback option and make user send the file to a email address given in intent.
But I need something better than this like google analytics or some other logging stuff which is easy to use where we can upload a file, and still manage other log events too.
You can use Firebase, it's have many feature to use.
Report Crashes on Android
Firebase Crash Reporting creates detailed reports of the errors in your app. Errors are grouped into issues based on having similar stack traces, and triaged by the severity of impact on your users. In addition to receiving automatic reports, you can log custom events to help capture the steps leading up to a crash.
You can watch docs in here: https://firebase.google.com/docs/crash/android

Android Ask the user to send crash log via mail

I have some apps already publish , but i want to implement this in my app, when ever my app crashes due to some reason i need the user to be shown a pop up to sent this crash log via mail?
is there any FREE lib to implement this?
you can use acra or bugsense to achieve this.

Force Close error description

I've released an application to some people for testing. Some of them are reporting that it works fine, while other say that they are getting Force Close error on the first run. How can I get the error description that happens, so I can fix it?
For now, ask users to install any logcat reading app and send you the stacktrace, if they're running Android 4.0 or below.
In future updates, integrate a library like ACRA that can automatically send you error reports.
Ask a selection of your users to install aLogcat, and to send the logs to you when the problem occurs. After all, assuming they're all suffering from the same problem, you only really need a single user to send you the logs so that you can get a call stack to diagnose it.
Look here:
You can try Application Crash Report for Android.
Second most suitable for error logging BugSense. It upload the error message on dashboard immediately.
Third I have example on github to send the error trace on to developer email.
https://github.com/ajaysaini-sgvu/CrashReport

Categories

Resources