JNI和android.mk的Eclipse问题

时间:2013-08-16 07:12:07

标签: android android-ndk java-native-interface

我对Eclipse中的android.mk有疑问。这是代码:

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := hellocpp_shared

LOCAL_MODULE_FILENAME := libhellocpp

LOCAL_SRC_FILES := hellocpp/main.cpp \
                   ../../Classes/AppDelegate.cpp \
                   ../../Classes/HelloWorldScene.cpp

LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes

LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static

include $(BUILD_SHARED_LIBRARY)

$(call import-module,cocos2dx)

问题出在代码的最后一行。该错误还说“Android NDK:aborting。停止”关于如何解决这个问题的任何想法?我是新手编码,所以如果你能用外行的话来说呢?非常感谢!

0 个答案:

没有答案