1.在src里 javah cn.itcast.cpp.DemoActivity 2.尽量把ndk操作放到单独的类中 这个错误应该是缺少相关的依赖 转载于:https://www.cnblogs.com/sfshine/archive/2012/11/15/2808027.html