mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-17 09:06:26 +00:00
Merge pull request #354 from realm/sk-adb-fix
Get correct path to adb from Android Studio
This commit is contained in:
commit
858380b86e
@ -17,7 +17,8 @@ allprojects {
|
|||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
task forwardDebugPort(type: Exec) {
|
task forwardDebugPort(type: Exec) {
|
||||||
commandLine 'adb', 'forward', 'tcp:8082', 'tcp:8082'
|
def adb = android.getAdbExe()?.toString() ?: 'false'
|
||||||
|
commandLine adb, 'forward', 'tcp:8082', 'tcp:8082'
|
||||||
ignoreExitValue true
|
ignoreExitValue true
|
||||||
doLast {
|
doLast {
|
||||||
if (execResult.getExitValue() != 0) {
|
if (execResult.getExitValue() != 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user