ldd equivalent on android

后端 未结 4 1212
情歌与酒
情歌与酒 2020-12-30 00:58

I have a libTest.so that does not load on some devices. logcat is absolutely useless. Using arm-linux-androideabi-readelf.exe -d libTest.so I was able to see al

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-30 01:31

    Thanks to android developers. My feature request was implemented :) Now we have ndk-depends, a tool that allows to troubleshoot dependencies.

    Edit: it doesn't do full symbol resolution though. E.g. if you build against Android-14 and try to use methods that didn't exist in old Androids, then this tool won't list missing symbols. This part was left as a TODO in ndk-depends.

提交回复
热议问题