Skip to content

手机需要root 后才能使用吗? #2

@JohnnyShu

Description

@JohnnyShu

image

测试demo , 设置相关参数后, 还是无法解析行号, 手机需要root后才能正确显示 行吗? cmd: python ./native_heapdump_viewer.py --html --reverse --package com.example.hellojni --objdump /Users/szq/baidu/work/android/android-ndk-r20/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-objdump --addr2line /Users/szq/baidu/work/android/android-ndk-r20/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-addr2line --symbols /Users/szq/WorkSpace/project/opensource/leak_debug/malloc-debug/demo/app/build/intermediates/cmake/debug/obj/armeabi-v7a/libhello-jni.so ./heaps/com.example.hellojni.txt > ./heaps_format/com.example.hellojni.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions