forked from organicmaps/organicmaps
[Android] Replace 'adb shell monkey ...' with 'adb shell am start ...'
Signed-off-by: S. Kozyr <s.trump@gmail.com>
This commit is contained in:
parent
68a15ccd2f
commit
c784a56c0c
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ android {
|
|||
android.applicationVariants.all { variant ->
|
||||
def task = variant.name.capitalize()
|
||||
project.task(type: Exec, "run${task}", dependsOn: "install${task}") {
|
||||
commandLine android.getAdbExe(), 'shell', 'monkey', '-p', applicationId, '-c', 'android.intent.category.LAUNCHER', '1'
|
||||
commandLine android.getAdbExe(), 'shell', 'am', 'start', '-n', "$applicationId/app.organicmaps.DownloadResourcesActivity", '-a', 'android.intent.action.MAIN', '-c', 'android.intent.category.LAUNCHER'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue