diff --git a/build/android-build.py b/build/android-build.py index 021dc795a2..47ffe5930e 100755 --- a/build/android-build.py +++ b/build/android-build.py @@ -37,7 +37,7 @@ def caculate_built_samples(args): def do_build(app_android_root, build_mode): - command = 'cocos compile -p android -s %s -m %s' % (app_android_root, build_mode) + command = 'cocos compile -p android -s %s --ndk-mode %s' % (app_android_root, build_mode) print command if os.system(command) != 0: