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() {
def result = exec {
executable = 'adb'
ignoreExitValue true
args = ['shell', 'monkey', '-p', getPackageName(), '-c', 'android.intent.category.LAUNCHER', '1']
}
return result
}

View file

@ -204,7 +204,6 @@ class AndroidPreparator(prepare.Preparator):
makefile = """
archs={archs}
TOPDIR=$(shell pwd)
LINPHONE_ANDROID_VERSION=$(shell git describe --always)
.PHONY: all
.NOTPARALLEL: all generate-apk install release