http://blog.csdn.net/fontlose/article/details/6666671
先參閱這篇寫的,然後在make helloworld 的時候出現錯誤:
make: *** No rule to make target `/hello.c', needed by `out/target/product/generic/obj/STATIC_LIBRARIES/helloworld_intermediates/hello.o'. Stop.
試了超多次,還是一直錯誤,結果 …找到解法:http://stackoverflow.com/questions/6243047/android-ndk-no-rule-to-make-target
就只是第一行的 LOCAL_PATH := $(call my-dir) 後面多了一個空格就會有錯 ( 啥鳥啊!! )