V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
gzlock
V2EX  ›  Android

[ Android]经过混淆后的 apk,在友盟的错误报告中怎么样找出崩溃的代码

  •  
  •   gzlock · Jan 26, 2016 · 14480 views
    This topic created in 3754 days ago, the information mentioned may be changed or developed.


    fragment.b.a 是哪?
    fragment.k.a 又是哪?
    com.a.a.a.i.a 又是哪?

    最后吐槽一下,自己测试的时候没问题,发布给用户就出现好多 null pointer exception ,用户到底经历了什么。。。
    ps :这只是个练手的小应用,友盟也集成了错误报告收集,所以没有用第三方那些应用测试的服务。

    4 replies    2016-01-27 10:28:39 +08:00
    Lonely
        1
    Lonely  
       Jan 26, 2016   ❤️ 1
    我记得友盟是可以上传 mapping 文件的吧
    honeycomb
        2
    honeycomb  
       Jan 26, 2016
    mapping 文件
    gzlock
        3
    gzlock  
    OP
       Jan 26, 2016
    @Lonely 一搜 mapping ,找到答案了,感谢感谢
    lingdududu
        4
    lingdududu  
       Jan 27, 2016   ❤️ 1
    补充下,混淆文件里面记得加上这句:

    # keep 住源文件以及行号
    -keepattributes SourceFile,LineNumberTable
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   919 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 20:38 · PVG 04:38 · LAX 13:38 · JFK 16:38
    ♥ Do have faith in what you're doing.