Fix build without connected device

This commit is contained in:
Erwan Croze 2017-04-04 15:40:46 +02:00
parent 655fdb48ae
commit 07d46848c1
2 changed files with 1 additions and 2 deletions

View file

@ -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
} }

View file

@ -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