1.編譯的時候,如果遇到如下的提示資訊:
No rule to make target `jni/./../Classes/KeyBoardInput.cpp', needed by `obj/local/armeabi/objs/hellocpp_shared/./__/Classes/KeyBoardInput.o'. Stop.
1)要注意:可能是目標檔案不是utf-8編碼的檔案
檢視方法:用vim開啟該檔案,然後輸入命名(:set fileencoding)
2)在Android.mk中*.cpp檔案路徑不對
2.支援方向鍵