Fix build without connected device
This commit is contained in:
parent
655fdb48ae
commit
07d46848c1
2 changed files with 1 additions and 2 deletions
|
@ -147,7 +147,7 @@ android {
|
||||||
task runApplication() {
|
task runApplication() {
|
||||||
def result = exec {
|
def result = exec {
|
||||||
executable = 'adb'
|
executable = 'adb'
|
||||||
|
ignoreExitValue true
|
||||||
args = ['shell', 'monkey', '-p', getPackageName(), '-c', 'android.intent.category.LAUNCHER', '1']
|
args = ['shell', 'monkey', '-p', getPackageName(), '-c', 'android.intent.category.LAUNCHER', '1']
|
||||||
}
|
}
|
||||||
return result
|
|
||||||
}
|
}
|
|
@ -204,7 +204,6 @@ class AndroidPreparator(prepare.Preparator):
|
||||||
makefile = """
|
makefile = """
|
||||||
archs={archs}
|
archs={archs}
|
||||||
TOPDIR=$(shell pwd)
|
TOPDIR=$(shell pwd)
|
||||||
LINPHONE_ANDROID_VERSION=$(shell git describe --always)
|
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
.NOTPARALLEL: all generate-apk install release
|
.NOTPARALLEL: all generate-apk install release
|
||||||
|
|
Loading…
Reference in a new issue