can run build-android.python in any path

This commit is contained in:
minggo 2013-11-01 14:27:29 +08:00
parent da9f7c912b
commit d98c6f8de6
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ def build_samples(target,ndk_build_param):
select_toolchain_version()
build_targets = caculate_built_samples(target)
current_dir = os.getcwd()
current_dir = os.path.dirname(os.path.realpath(__file__))
cocos_root = os.path.join(current_dir, "..")
app_android_root = ''