Flex Mobile log output in iOS - android

I'm trying to debug an issue on a Flex Mobile project. Specifically, in order to debug this I need to be using a release build for iOS (it is the only way the problem appears). I am having difficulty finding a way to view log messages on a release build. Has anybody been able to successfully see log messages in the Organizer console? If so, how did you accomplish it?

If it needs to be a release build, I can think of two options:
Using Google Analytics in the Flex mobile project and then log your errors to a "test" bucket so it doesn't get mixed up with your real reporting.
Save a txt file with log info, and then read it back in
Neither are great solutions, but I think it is the best you can do with a release build.

Related

Flutter and Android Release Mode

How I can find out crash logs in release mode in a flutter. In the android studio, I am not able to get crash logs where the app is going to crash.
You can't get logs in release mode. If you want to collect crash logs in release mode please check crashlytics(free) product in firebase. With this product, you can remotely receive logs without connecting mobile to your computer.
To easily get crash logs, you can embed Firebase into your project and enable crash reporting into your flutter project.
So after the subscription, you can go to CrashAnalytics from your Firebase console and be able to see crash logs.
For more information on how to set up Firebase into your flutter application, check here: https://firebase.google.com/docs/flutter/setup
Android studio has a logcat right at the bottom. Although you might see a lot of extra things you don't need, but if a major error occurs in your app it'll show up there. You can also search with the title of your app for more refined results.
One another option in Android studio is to select Run > Flutter Run 'Main.dart' in release mode from top menu. You can see all logs in console. Try putting a break point if you want.

How to have a debug and release build in firebase analytics for Android?

I am looking for firebase to log data with my debug build and my release build separately. So when I am testing my app, I am not flooding my Analytics with non-user info. Can anyone point me in the right direct or know of a tutorial on this?
Bob's comment points in the correct direction. It's recommended for developers to set up multiple Firebase projects to achieve isolation of data between the same app running in different environments. This also gives you a safe place to experiment and develop without affecting your production users.

android - approach to export logcat events

My android app has entered beta and a tester is encountering the android reporting the app has crashed. Is there a recommended approach for collecting logcat entries and emailing or moving the event off device? Testers have no access to the source code or android dev studio.
Have seen android report crash dumps and offer the choice to download the dump off device. Any pointers to an approach for this?
Use an analytics tool like crashlytics. When crashes occur they are logged in its dashboard, here you can view the stacktrace for the crash just like you would in the logcat.

How to fix the issue if app is crashed in android?

I have developed and put an android application in Google Play store.
Someone inform me that the app is crashing while doing something in application.
As a application developer,
How to find the problem and fix it in android?
Is there any tool or framework to debug the crashed app in android?
There are many sdks out there which can be incorporated in your app.
You can use
1. crashlytics
2. localytics
3. crittercism
Its always a best practice to include some analytics tools in your android application to know where users are spending a lot of their time. I personally like flurry Analytics.
Since you have already uploaded the apk you should check it out in the google play developer console. Even google will provide the crash data, and it is the only resource you have.
As far as fixing the application goes you can do it only by uploading a new apk and asking the users to update the app.
ACRA is a right choice for you to analyze the crash report. Please refer the following link to implement in your project.
https://github.com/ACRA/acra
And also, You can find the crash report in your developer console if the the user has sent the crash report while force closing of the application.
Please ensure that you have not enabled the proguard. if you have enabled proguard, try decode the lines using the following link
http://developer.android.com/tools/help/proguard.html#decoding

is possible to debug android apps downloaded from Play?

My app, when downloaded from Google Play, is showing some errors that I couldn't simulate with eclipse, even debugging directly at the device.
I've posted this issue with more details here: Facebook Connect works different on emulator/device, but not on Google Play
But i want to know if I can debug my app if I downloaded it from Play, i.e., without installing the apk from Eclipse. If not debug, at least could I see the log messages in LogCat?
Thanks!
Yes. It's the same as debugging with the eclipse debug apk. You can see log messages, take screenshots. Not sure about breakpoints, but the rest is the same.
Keep in mind that if you use ProGuard or similar tools, the stacktraces will need to be run through their tool again to make sense.

Categories

Resources