Merge pull request #572 from rnixx/master
Some fixes in old android target
This commit is contained in:
commit
6a8209d081
1 changed files with 2 additions and 1 deletions
|
@ -768,7 +768,7 @@ class TargetAndroid(Target):
|
||||||
mode = 'debug'
|
mode = 'debug'
|
||||||
else:
|
else:
|
||||||
build_cmd += [("release", )]
|
build_cmd += [("release", )]
|
||||||
mode = 'release'
|
mode = 'release-unsigned'
|
||||||
|
|
||||||
self.execute_build_package(build_cmd)
|
self.execute_build_package(build_cmd)
|
||||||
|
|
||||||
|
@ -850,6 +850,7 @@ class TargetAndroid(Target):
|
||||||
|
|
||||||
# recreate the project.properties
|
# recreate the project.properties
|
||||||
with io.open(project_fn, 'w', encoding='utf-8') as fd:
|
with io.open(project_fn, 'w', encoding='utf-8') as fd:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
fd.writelines((line.decode('utf-8') for line in content))
|
fd.writelines((line.decode('utf-8') for line in content))
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in a new issue