| Index: sky/tools/shelldb
|
| diff --git a/sky/tools/shelldb b/sky/tools/shelldb
|
| index d64f917df614d125fe57ac0881a9f85e58110cd1..28fbfb3cb65f97c1df0b231b46287ac5ebcf99e0 100755
|
| --- a/sky/tools/shelldb
|
| +++ b/sky/tools/shelldb
|
| @@ -175,7 +175,8 @@ class StartSky(object):
|
| pids['build_dir'] = os.path.abspath(args.build_dir)
|
|
|
| if args.install:
|
| - subprocess.check_call([ADB_PATH, 'install', '-r', apk_path])
|
| + # -r to replace an existing apk, -d to allow version downgrade.
|
| + subprocess.check_call([ADB_PATH, 'install', '-r', '-d', apk_path])
|
|
|
| port_string = 'tcp:%s' % sky_server.port
|
| subprocess.check_call([
|
|
|