Skip to content

the result of stream read contains some special character? #17

@jxgxldl

Description

@jxgxldl

there are example code in order to get os version of device as belows: use cmd: getprop ro.build.version.release
AdbStream stream = adb.open("shell:");
stream.write("getprop ro.build.version.release" +'\n');

when stream read
String bufStr = new String(stream.read(), StandardCharsets.UTF_8);
//...

the output of bufStr contains some special character: like ^@, / $...

does any wrong when I use adblib?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions