mirror of https://github.com/axmolengine/axmol.git
can run build-android.python in any path
This commit is contained in:
parent
da9f7c912b
commit
d98c6f8de6
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in New Issue