首页 > 技术文章 > 使用Eclipse出现make: *** No rule to make target `all'. Stop.解决办法

luorende 2017-03-15 01:11 原文

在mac下用eclipse开发jni 总是出现如题所示的异常,后来将build command 改成ndk-build就可以了 
具体如图所示 
参数设置

输出内容

**** Build of configuration Default for project AppUninstall ****

/Users/cuiran/tool/android-ndk-r9d/ndk-build all 
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 9 in /Users/cuiran/src/workspace/AppUninstall/AndroidManifest.xml    
[armeabi] Install        : libuninstall.so => libs/armeabi/libuninstall.so

**** Build Finished ****

 

推荐阅读