Allow customised install arguments (#75)

* add pmInstallArgs launch config property

* add missing launchActivity description
correct default trace value

* add launchActivity to the README

* add comment describing why we look for IllegalArgumentException
This commit is contained in:
Dave Holoway
2019-08-26 10:48:29 +01:00
committed by GitHub
parent 989de8254a
commit 7e958620a8
3 changed files with 30 additions and 4 deletions

View File

@@ -52,7 +52,13 @@ The following settings are used to configure the debugger:
"staleBuild": "warn",
// Fully qualified path to the AndroidManifest.xml file compiled in the APK. Default: appSrcRoot/AndroidManifest.xml
"manifestFile": "${workspaceRoot}/app/src/main/AndroidManifest.xml"
"manifestFile": "${workspaceRoot}/app/src/main/AndroidManifest.xml",
// APK install arguments passed to the Android package manager. Run 'adb shell pm' to show valid arguments. Default: ["-r"]
"pmInstallArgs": ["-r"],
// Manually specify the activity to run when the app is started.
"launchActivity": ".MainActivity"
}
]
}