the phenomenon that occurs :
1. Because the Android upload error stack (the stack is a data structure) has no line number , resulting in poor positioning.
2. The escalated error stack is Unknown Sourcewith no line number
Reason:
There is a line number in the report, there is no line number because the final output of the installation package there is no line number information .
Java file --javac---- class file--progurad---Confusing class file .
To have a line number in the error stack, you must ensure that the two links (Javac compilation, Progurad obfuscation) retain the downlink number information .
Javac compile reserved line number information configuration :
①javac compile file under: Sdk\tools\ant\build.xml
The Ant build.xml under Java Eclipse can also be placed under the project root directory:
Example: http://www.cnblogs.com/zdz8207/p/jva-eclipse-ant.html
Android compilation optimization-crash log save line number