From 07d46848c1f682f650868e744f964f4d2a0d5ef2 Mon Sep 17 00:00:00 2001 From: Erwan Croze Date: Tue, 4 Apr 2017 15:40:46 +0200 Subject: [PATCH] Fix build without connected device --- build.gradle | 2 +- prepare.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 9179e71c6..47befc141 100644 --- a/build.gradle +++ b/build.gradle @@ -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 } \ No newline at end of file diff --git a/prepare.py b/prepare.py index dbac00ed1..6984905c5 100755 --- a/prepare.py +++ b/prepare.py @@ -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