摘要:
Java type JNI type C type Stdint C type booleanjbooleanunsigned charuint8_tbytejbytesigned charint8_tcharjcharunsigned shortuint16_tdoublejdoubledoubledoublefloatjfloatfloatfloatintjintintint32_tlongjlonglong longint64_tshortjshortshortint16_t 阅读全文
摘要:
1、安装make build工具执行以下命令:sudo apt-get install build-essential2、下载NDK官网下载页:http://developer.android.com/tools/sdk/ndk/index.html选择Linux 32/64-bit (x86)版本,下载下载成功后,解压到/usr/lib/目录下3、配置Eclipse插件a) 搭建SDK开发环境,参考:【学习Android NDK开发】搭建Android SDK开发环境(Ubuntu 12.04 LTS 32-bit)打开Eclipse,设置NDK路径,Window -> Prefere 阅读全文
摘要:
ndk-gdb,调试native code,出现以下错误:ndk-gdb --verbose,查看信息: --verbose: Print verbose information about the native debugging session setup. Only needed to debug problems when you can't connect and that the error messages printed by ndk-gdb are not enough.调试手机:HTC Desire Android 2.2Are you sure tha... 阅读全文