diff --git a/templates/cpp-template-default/proj.android-studio/app/jni/Application.mk b/templates/cpp-template-default/proj.android-studio/app/jni/Application.mk index 07aa592b13..4d5f43a0cc 100644 --- a/templates/cpp-template-default/proj.android-studio/app/jni/Application.mk +++ b/templates/cpp-template-default/proj.android-studio/app/jni/Application.mk @@ -3,6 +3,8 @@ APP_STL := gnustl_static APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char APP_LDFLAGS := -latomic +APP_ABI := armeabi + ifeq ($(NDK_DEBUG),1) APP_CPPFLAGS += -DCOCOS2D_DEBUG=1 diff --git a/templates/cpp-template-default/proj.android/jni/Application.mk b/templates/cpp-template-default/proj.android/jni/Application.mk index 07aa592b13..4d5f43a0cc 100644 --- a/templates/cpp-template-default/proj.android/jni/Application.mk +++ b/templates/cpp-template-default/proj.android/jni/Application.mk @@ -3,6 +3,8 @@ APP_STL := gnustl_static APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char APP_LDFLAGS := -latomic +APP_ABI := armeabi + ifeq ($(NDK_DEBUG),1) APP_CPPFLAGS += -DCOCOS2D_DEBUG=1 diff --git a/templates/js-template-default/frameworks/runtime-src/proj.android-studio/app/jni/Application.mk b/templates/js-template-default/frameworks/runtime-src/proj.android-studio/app/jni/Application.mk index 81ca21b08f..cf9180accb 100644 --- a/templates/js-template-default/frameworks/runtime-src/proj.android-studio/app/jni/Application.mk +++ b/templates/js-template-default/frameworks/runtime-src/proj.android-studio/app/jni/Application.mk @@ -6,6 +6,8 @@ APP_STL := gnustl_static APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char APP_LDFLAGS := -latomic +APP_ABI := armeabi + USE_ARM_MODE := 1 ifeq ($(NDK_DEBUG),1) diff --git a/templates/js-template-default/frameworks/runtime-src/proj.android/jni/Application.mk b/templates/js-template-default/frameworks/runtime-src/proj.android/jni/Application.mk index 81ca21b08f..cf9180accb 100644 --- a/templates/js-template-default/frameworks/runtime-src/proj.android/jni/Application.mk +++ b/templates/js-template-default/frameworks/runtime-src/proj.android/jni/Application.mk @@ -6,6 +6,8 @@ APP_STL := gnustl_static APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char APP_LDFLAGS := -latomic +APP_ABI := armeabi + USE_ARM_MODE := 1 ifeq ($(NDK_DEBUG),1) diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android-studio/app/jni/Application.mk b/templates/lua-template-default/frameworks/runtime-src/proj.android-studio/app/jni/Application.mk index 07aa592b13..4d5f43a0cc 100644 --- a/templates/lua-template-default/frameworks/runtime-src/proj.android-studio/app/jni/Application.mk +++ b/templates/lua-template-default/frameworks/runtime-src/proj.android-studio/app/jni/Application.mk @@ -3,6 +3,8 @@ APP_STL := gnustl_static APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char APP_LDFLAGS := -latomic +APP_ABI := armeabi + ifeq ($(NDK_DEBUG),1) APP_CPPFLAGS += -DCOCOS2D_DEBUG=1 diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/jni/Application.mk b/templates/lua-template-default/frameworks/runtime-src/proj.android/jni/Application.mk index 07aa592b13..4d5f43a0cc 100644 --- a/templates/lua-template-default/frameworks/runtime-src/proj.android/jni/Application.mk +++ b/templates/lua-template-default/frameworks/runtime-src/proj.android/jni/Application.mk @@ -3,6 +3,8 @@ APP_STL := gnustl_static APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char APP_LDFLAGS := -latomic +APP_ABI := armeabi + ifeq ($(NDK_DEBUG),1) APP_CPPFLAGS += -DCOCOS2D_DEBUG=1