C
C
Copperfield2014-06-18 18:16:51
Android
Copperfield, 2014-06-18 18:16:51

How to debug an obfuscated android application?

Obfuscated my android app with ProGuard.
After the crash, logs began to come to the developer console, but in the logs the names of all classes and methods ala "...cH", "...cE" etc.
How can I debug my application now?
Or would it be more correct to upload the application without obfuscation, test it as much as possible and only then obfuscate it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mintormo, 2014-06-19
@Mintormo

I think that it is worth debugging first and then obfuscating. Obfuscation should be done on the final product.

A
Alexander, 2014-06-18
@itvdonsk

Create your own ExceptionParser

public String getDescription(String threadName, Throwable t) {
        // TODO Auto-generated method stub

        String description = "threadName = "
        + threadName
        + "\ngetMessage()= " + t.getMessage()
        + "\ngetLocalizedMessage()=" + t.getLocalizedMessage()
        + "\ngetCause()=" + t.getCause()
        + "\ngetStackTrace()=" + t.getStackTrace();

        return description;

    }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question