Skip to content
This repository was archived by the owner on Feb 11, 2022. It is now read-only.
This repository was archived by the owner on Feb 11, 2022. It is now read-only.

The install task is broken on Nougat #108

Description

@tasomaniac

The problem is that it simply does not accept the argument -rd when r and d are together. -r -d works.

As far as I see, it is only on Nougat (both my Nexus 6 and emulator). It could be because of the many changes/refactorings they did on adb on Nougat.

Exception occurred while dumping:
java.lang.IllegalArgumentException: No argument expected after "-rd"
        at android.os.ShellCommand.getNextOption(ShellCommand.java:195)
        at com.android.server.pm.PackageManagerShellCommand.makeInstallParams(PackageManagerShellCommand.java:999)
        at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:139)
        at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:94)
        at android.os.ShellCommand.exec(ShellCommand.java:94)
        at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:18167)
        at android.os.Binder.shellCommand(Binder.java:468)
        at android.os.Binder.onTransact(Binder.java:367)
        at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2387)
        at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3143)
        at android.os.Binder.execTransact(Binder.java:565)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions