Tencent / loli_profiler

Memory instrumentation tool for android app&game developers.
Other
610 stars 76 forks source link

clang编译的so的Compiler该如何选择 #5

Closed lijunhuawhu closed 3 years ago

lijunhuawhu commented 3 years ago

我写了一个ndk的demo,so是基于clang编译的,loli_profiler的配置如下,结果是始终连不上,请问这里的配置有问题吗? image

image

image

sindney commented 3 years ago

1.高版本安卓。设置下 android:extractNativeLibs,让so解压出来用,才能在maps里看到so 2.确认你的app申请了网络权限,拉起时 adb logcat -s Loli 看看运行时log信息,如果socket=-1就是网络权限没有

lijunhuawhu commented 3 years ago

好的,解决了,谢谢