I understand that this question was asked before, but none of the answers could solve my problem.
I am trying to create an example Android application for NDK that has the following Android.mk file:
LOCAL_PATH := $(call my-dir) MY_PATH := $(LOCAL_PATH) include $(call all-subdir-makefiles) include $(CLEAR_VARS) LOCAL_PATH := $(MY_PATH) LOCAL_MODULE := native-activity LOCAL_SRC_FILES := main.c LOCAL_LDLIBS := -llog -landroid -lEGL -lGLESv1_CM LOCAL_STATIC_LIBRARIES := android_native_app_glue include $(BUILD_SHARED_LIBRARY) $(call import-module,android/native_app_glue)
When I create my project, I get the following error:
**** Build of configuration Default for project NativeActivity **** /Users/Jono/Documents/Development/Android Development/android-ndk-r9c/ndk-build all usage: dirname path make: /Users/Jono/build/core/build-local.mk: No such file or directory make: *** No rule to make target `/Users/Jono/build/core/build-local.mk'. Stop. **** Build Finished ****
The problem is that he is looking for assembly files in my root directory, but I'm not quite sure what he is doing, what files he is looking for, where he should look, and then what should I do to fix it.
source share