Skip to content

Android手机获取不到String[] mDevices = serialPortFinder.getAllDevicesPath();,mDevices大小为0 #31

Open
@chuncainiao

Description

java.io.FileNotFoundException: /proc/tty/drivers: open failed: EACCES (Permission denied)
W/System.err: at libcore.io.IoBridge.open(IoBridge.java:496)
W/System.err: at java.io.FileInputStream.(FileInputStream.java:159)
W/System.err: at java.io.FileInputStream.(FileInputStream.java:115)
W/System.err: at java.io.FileReader.(FileReader.java:58)
W/System.err: at android.serialport.SerialPortFinder.getDrivers(SerialPortFinder.java:71)

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