LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_PACKAGE_NAME := myApp include $(BUILD_PACKAGE) # Use the folloing include to make our test apk. include $(call all-makefiles-under,$(LOCAL_PATH)) 上記例だと、LOCAL_MODULE_TAGS が optionalのため、PRODUCT_PACKAGESでビルド対象に指定する必要がある。 PRODUCT_PACKAGES の追加 LOCAL_MODULE_TAGS で o