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) 後面多了一個空格就會有錯 ( 啥鳥啊!! )

正確:LOCAL_PATH := $(call my-dir)

錯誤:LOCAL_PATH := $(call my-dir)  

這樣給大家看應該會明白,錯誤的地方是後面還有空格。 

arrow
arrow
    文章標籤
    Android.mk
    全站熱搜
    創作者介紹
    創作者 maxron 的頭像
    maxron

    Zero_Maxima---水能淡性是吾友 竹解虛心是我師 ---

    maxron 發表在 痞客邦 留言(0) 人氣()