In Fabric Crashlytics reports I see some letters instead of classes names. for example when I see "MainActivity" I understand that a crash occured in MainActivity.java, but now I see letter "a" , "e" or "w" instead of class name and I can't understand in which class that crash occured!
How can I solve this problem?
Possibly you're using proguard or dexguard to obfuscate your code, hence when crashlytics reports it, it reports it with symbols instead of actual method and class names.
if you wish to use proguard with crashlytics, follow this doc here to add the necessary proguard rules or simple exclude proguard on crashlytics by adding the following to your proguard-rules
file:
-keep class com.crashlytics.** { *; }
-dontwarn com.crashlytics.**
would recommend adding all the rules mentioned there for better stability.
if you do not know what proguard is or wish not to use it, go to your build.gradle
file for app and change the line to:
minifyEnabled false
Happy coding!