Android 㯠Linux ã®ä¸ç¨®ã§ããããARM ã§åã Linux åãã®Cè¨èªã§æ¸ãããã©ã¤ãã©ãªã®å¤ããåãã¾ããï¼å¤å°éãã®ã§ãåããªãå ´åãããï¼ããã ãããã«ãæ¹æ³ãæé»ã®äºè§£äºé ã«ãªã£ã¦ãããã¦ãAndroid NDK ã«ã¡ããã¨æ¸ããã¦ããªãã£ããããã®ã§ãããã«ã¾ã¨ãã¾ãï¼ ä»¥ä¸ãæ¶ç©ºã® libhoge ããã«ããããã¨ã¨ãã¾ãã ãã«ã対象ã¯ä¸è¬çã«éçã©ã¤ãã©ãª (.a) ãã¡ã¤ã«ã«ãã¦ããã¨åã§ããèªåã§ä½¿ãéã¯ãèªåã® Android.mk ã«ä»¥ä¸ã®ç©ã追å ãã¾ãã LOCAL_CFLAGS ã« -Ihoge-1.0/include ã¿ããã®ã追å LOCAL_LDLIBS ã« -Lhoge-1.0-android-build/$(TARGET_ARCH_ABI) 㨠-l hoge ã追å ã©ã¤ãã©ãªããã«ããã¦ã§ãã libhoge.a ã¯ãã®ãã©ã«ãã«
{{#tags}}- {{label}}
{{/tags}}