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

java.lang.NoSuchMethodError: No virtual method position(I)Ljava/nio/ByteBuffer; in class Ljava/nio/ByteBuffer; or its super classes (declaration of 'java.nio.ByteBuffer' appears in /system/framework/core-oj.jar) #347

Open daiyongqiang1989 opened 2 years ago

daiyongqiang1989 commented 2 years ago

Hi there I using the lastest version 0.9.1,I find some other issues faced the same question。But I do not use Java 9+,thanks your relay。

daiyongqiang1989 commented 2 years ago

Caused by: java.lang.NoSuchMethodError: No virtual method position(I)Ljava/nio/ByteBuffer; in class Ljava/nio/ByteBuffer; or its super classes (declaration of 'java.nio.ByteBuffer' appears in /system/framework/core-oj.jar) at org.jnode.util.ByteBufferUtils$ByteArray.refreshByteBuffer(ByteBufferUtils.java:75) at org.jnode.fs.ntfs.NTFSFile.read(NTFSFile.java:112)

daiyongqiang1989 commented 2 years ago

I use the java-fs souce code in my project.