user5408418
user5408418

Reputation: 77

How to test crashes in Android for multiple devices?

We are using Fabric for tracking crashlytics. Daily we receive crash report, those are related to specific devices.

My question is how to avoid crashes in Android, if it is occurred how can I test it. Because most of the crashes are related to Device specific and Network Specific.

Upvotes: 0

Views: 951

Answers (2)

Lucas Ferraz
Lucas Ferraz

Reputation: 4152

When we talk about Android crashes in general, we have to consider that exists a lot of things that can affect its behavior, and than cause a Crash.

I will list to you, what I consider to be good pratices to avoid crashs.

1 - Write Unit tests

2 - Write tests with Test automation framework like Appium

3 - AWS Device Farm. (With your Automation script, you can put your apk and your test automation script in AWS Device Farm and select which Android device and version you want to use. )

4 - Use a CI (Continuous Integration) to never forget to run your tests and do things that are important to your application =) (http://www.bitrise.io is a good solution for this)

And always try to stay updated of android news versions

Upvotes: 2

Dhaval Solanki
Dhaval Solanki

Reputation: 4705

Some SDK is available to find and help to resolve crashes in app Like Crittercism, Crash analytics of fabric, which give you crash detail show you can find exact location and crash in your app. Both are free. And I am suggesting fabric is good for it.

Upvotes: 0

Related Questions