From 737dc5ba8de4aa35fffd865c708c87ceb1595112 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Mon, 14 Sep 2015 11:18:32 +0800 Subject: [PATCH] Fix build_native for js default template --- .../frameworks/runtime-src/proj.android/build_native.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/js-template-default/frameworks/runtime-src/proj.android/build_native.py b/templates/js-template-default/frameworks/runtime-src/proj.android/build_native.py index 31c3ef4513..576b43e3ef 100755 --- a/templates/js-template-default/frameworks/runtime-src/proj.android/build_native.py +++ b/templates/js-template-default/frameworks/runtime-src/proj.android/build_native.py @@ -136,7 +136,7 @@ def copy_resources(app_android_root): resources_dir = os.path.join(app_android_root, "../../../src") copy_files(resources_dir, assets_scripts_dir) - resources_dir = os.path.join(app_android_root, "../../../frameworks/js-bindings/bindings/script") + resources_dir = os.path.join(app_android_root, "../../../frameworks/cocos2d-x/cocos/js-bindings/bindings/script") copy_files(resources_dir, assets_jsb_dir) def build(targets,ndk_build_param,build_mode): @@ -145,7 +145,7 @@ def build(targets,ndk_build_param,build_mode): sdk_root = None project_root = os.path.dirname(os.path.realpath(__file__)) - cocos_root = os.path.join(project_root, "..", "..", "..", "frameworks/js-bindings/cocos2d-x") + cocos_root = os.path.join(project_root, "..", "..", "cocos2d-x") print cocos_root