google / adb-sync

Apache License 2.0
1.09k stars 172 forks source link

Fix: weird char sequence throwing java error #60

Open jej opened 2 years ago

jej commented 2 years ago

I guess it's just a mistake... Got this java error after exciting the ssh login:

Exception occurred while executing 'force-stop':
java.lang.IllegalArgumentException: Argument expected after "force-stop"
    at com.android.modules.utils.BasicShellCommandHandler.getNextArgRequired(BasicShellCommandHandler.java:295)
    at com.android.server.am.ActivityManagerShellCommand.runForceStop(ActivityManagerShellCommand.java:1138)
    at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:239)
    at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
    at android.os.ShellCommand.exec(ShellCommand.java:38)
    at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:10429)
    at android.os.Binder.shellCommand(Binder.java:986)
    at android.os.Binder.onTransact(Binder.java:860)
    at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:6049)
    at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3034)
    at android.os.Binder.execTransactInternal(Binder.java:1220)
    at android.os.Binder.execTransact(Binder.java:1179)
google-cla[bot] commented 2 years ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

For more information, open the CLA check for this pull request.

jej commented 2 years ago

you'll need to sign a Contributor License Agreement (CLA).

I can live without, for sure :) Hope it helps anyway...