Skip to content

Instantly share code, notes, and snippets.

@syndarin
Created March 1, 2019 17:07
Show Gist options
  • Select an option

  • Save syndarin/a472cf04af076fd2c9288ff0c4971f45 to your computer and use it in GitHub Desktop.

Select an option

Save syndarin/a472cf04af076fd2c9288ff0c4971f45 to your computer and use it in GitHub Desktop.

Revisions

  1. syndarin created this gist Mar 1, 2019.
    4 changes: 4 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    task runActivity(dependsOn: "installDebug", type: Exec) {
    workingDir "./"
    commandLine 'adb', 'shell', 'am start -n package.name/.relative.path.from.package.name.ActivityName'
    }