mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-11 10:37:33 +00:00
Fix ADB issues when testing
This commit is contained in:
@@ -131,6 +131,10 @@ test_main() {
|
||||
"$sdk" --channel=3 $avd_pkg
|
||||
echo no | "$avd" create avd -f -n test -k $avd_pkg
|
||||
|
||||
# Make sure ADB is behaving correctly
|
||||
adb kill-server
|
||||
adb start-server
|
||||
|
||||
# Launch stock emulator
|
||||
print_title "* Launching $avd_pkg"
|
||||
"$emu" @test $emu_args >/dev/null 2>&1 &
|
||||
|
Reference in New Issue
Block a user