diff --git a/build.gradle b/build.gradle index e69352bdd..bc9eaae88 100644 --- a/build.gradle +++ b/build.gradle @@ -184,8 +184,8 @@ android.applicationVariants.all { variant -> task runApplication() { def result = exec { - executable = 'adb' + executable = android.getAdbExe().toString() ignoreExitValue true args = ['shell', 'monkey', '-p', getPackageName(), '-c', 'android.intent.category.LAUNCHER', '1'] } -} \ No newline at end of file +}