mirror of https://github.com/axmolengine/axmol.git
Merge pull request #6834 from lmskater/fix-android-path
[Jenkins][ci skip] Fix the path of android public project
This commit is contained in:
commit
875f7bc49f
|
@ -118,7 +118,7 @@ def ANDROID_BUILD():
|
|||
print 'clean **CLEAN FAILED**'
|
||||
time.sleep(sleep_time)
|
||||
def updateProperty():
|
||||
infoUpdate = os.system('android update project -p ./cocos/2d/platform/android/java/ -t 12')
|
||||
infoUpdate = os.system('android update project -p ./cocos/platform/android/java/ -t 12')
|
||||
print 'cocos update:', infoUpdate
|
||||
infoUpdate = os.system('android update project -p '+PATH_ANDROID_SRC+' -t 12')
|
||||
print 'test update:', infoUpdate
|
||||
|
|
|
@ -149,7 +149,7 @@ def main():
|
|||
ret = os.system("python build/android-build.py -b " + mode + " -n -j10 all")
|
||||
# create and save apk
|
||||
if(ret == 0):
|
||||
os.system('android update project -p cocos/2d/platform/android/java/ -t android-13')
|
||||
os.system('android update project -p cocos/platform/android/java/ -t android-13')
|
||||
for i, test in enumerate(tests_dirs):
|
||||
os.system('android update project -p ' + test + ' -t android-13')
|
||||
local_apk = test + '/' + tests_names[i] + '.apk'
|
||||
|
|
|
@ -194,7 +194,7 @@ def main():
|
|||
# create and save apk
|
||||
if(ret == 0):
|
||||
sample_dir = 'tests/cpp-empty-test/proj.android/'
|
||||
os.system('android update project -p cocos/2d/platform/android/java/ -t android-13')
|
||||
os.system('android update project -p cocos/platform/android/java/ -t android-13')
|
||||
os.system('android update project -p ' + sample_dir + ' -t android-13')
|
||||
os.system('ant debug -f ' + sample_dir + 'build.xml')
|
||||
local_apk = sample_dir + 'bin/CppEmptyTest-debug.apk'
|
||||
|
|
Loading…
Reference in New Issue