
ndk
linuxdog2
an Linux hobbist
展开
-
---I will help debug the post
http://stackoverflow.com/questions/4846080/how-can-i-effectively-debug-c-code-thats-wrapped-with-jni-in-eclipse-android/4942519#4942519转载 2011-12-26 02:20:44 · 707 阅读 · 0 评论 -
---ndk debug
http://stackoverflow.com/questions/4629308/any-simple-or-easy-way-to-debug-android-ndk-code printf 重定向到logcat adb shell stop adb shell setprop log.redirect-stdio true adb shell start转载 2011-12-26 02:12:33 · 802 阅读 · 0 评论 -
----查看jni 编译出的库的状况!
% arm-eabi-objdump -p .../symbols/system/lib/libdvm.so ... Dynamic Section: NEEDED libnativehelper.so % cat dalvik/libnativehelper/Android.mk ... static_libraries := \ libjavacore \ libfdlibm ...原创 2020-02-03 09:43:48 · 156 阅读 · 0 评论 -
---查看jni 代码需要哪些库
http://stackoverflow.com/questions/3391643/android-jni-system-loadlibrary-not-needed 我们不知到有什么原因,他没有ldd命令 arm-linux-androideabi-objdump -p libndkPingDemo.so |less % arm-eabi-objdum转载 2011-12-26 02:45:37 · 976 阅读 · 1 评论