magnusja / libaums

Open source library to access USB Mass Storage devices on Android without rooting your device
Apache License 2.0
1.26k stars 270 forks source link

device.getPartitions() is Empty #366

Closed bqrfvatj closed 1 year ago

bqrfvatj commented 1 year ago

Problem

        device.init();
        Partition partition = device.getPartitions().get(0);
        System.out.println(partition)   // result =  null ?????????

         Why? How to solve it?

Expected behavior

Actual behavior

Stacktrace of Excpetion

(if exists)

Code where problem occurs

anmolthedeveloper commented 1 year ago

Same

magnusja commented 1 year ago

Then you are either using an unsupported partition table (e.g. GPT instead of MBR) or an unsupported file system. Only FAT32 is supported.

magnusja commented 1 year ago

GPT now supported!