DexPatcher / multidexlib2

Multi-dex extensions for dexlib2
https://dexpatcher.github.io/
GNU General Public License v3.0
68 stars 34 forks source link

NoSuchMethodError at ByteStreamsHack.toByteArray(...) #8

Open Lanchon opened 3 years ago

Lanchon commented 3 years ago
Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.io.ByteStreams.toByteArray(Ljava/io/InputStream;J)[B
    at com.google.common.io.ByteStreamsHack.toByteArray(ByteStreamsHack.java:30)
    at lanchon.multidexlib2.RawDexIO.readRawDexFile(RawDexIO.java:54)
    at lanchon.multidexlib2.ZipFileDexContainer.<init>(ZipFileDexContainer.java:48)
    at lanchon.multidexlib2.MultiDexIO.readMultiDexContainer(MultiDexIO.java:61)
    at lanchon.multidexlib2.MultiDexIO.readMultiDexContainer(MultiDexIO.java:48)
    at lanchon.multidexlib2.MultiDexIO.readMultiDexContainer(MultiDexIO.java:39)

reference: https://github.com/DexPatcher/multidexlib2/issues/7#issuecomment-700517253

auermich93 commented 2 years ago

@Lanchon: Any intention to fix that issue in the near future? If I got it right, it's due to a transitive guava dependency that is too new/old and doesn't provide the respective method?