最主要的步骤是:html
1) 在文件androidMainfast.xml中的application 标签下添加android:debuggable="true"linux
2)工程设置中将Build Types中的jni debuggable配置为trueandroid
3) 经过GDB来设置断点进行调试app
能够看看 https://www.cnblogs.com/android-blogs/p/5712121.html网页ui
4) Android Studio中项目NDK原生部分整合方式(相对路径头文件找不到的问题) https://blog.csdn.net/yihui8/article/details/48949429google
5) No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android 解决办法:https://www.cnblogs.com/dongweiq/p/9779142.html.net
6) https://developer.android.google.cn/studio/debug/debug