Closed dwk601 closed 1 month ago
I got the same error. I cannot even patch it using WSA, it bugs out at around the 22nd-23rd dex file.
Device Info ReVanced Manager: 1.22.0 Model: Subsystem for Android(TM) Android version: 13 Supported architectures: x86_64, arm64-v8a, x86, armeabi-v7a, armeabi Root permissions: No
Patch Info App: com.zhiliaoapp.musically v36.5.4 (Suggested: 36.5.4) Patches version: v4.15.0 Patches added: Default Patches removed: None Default patch options changed: None
Settings Allow changing patch selection: false Version compatibility check: true Show universal patches: true Patches source: revanced/revanced-patches Integration source: revanced/revanced-integrations
Logs Reading APK Decoding app manifest Loading patches Merging integrations Executing patches Applied 8 patches Compiling patched dex files Compiled 23 dex files An error occurred: java.lang.OutOfMemoryError: Failed to allocate a 24 byte allocation with 271832 free bytes and 265KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC. at java.lang.StringFactory.newStringFromChars(StringFactory.java:112) at com.android.tools.smali.util.Utf8Utils.utf8BytesWithUtf16LengthToString(SourceFile:0) at com.android.tools.smali.dexlib2.dexbacked.DexReader.readString(Unknown Source:12) at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile$5.get(SourceFile:0) at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile$5.get(SourceFile:0) at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile$6.get(SourceFile:0) at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile$6.get(SourceFile:0) at com.android.tools.smali.dexlib2.dexbacked.DexBackedMethod.getReturnType(Unknown Source:22) at com.android.tools.smali.dexlib2.writer.pool.PoolMethod.getReturnType(Unknown Source:2) at com.android.tools.smali.dexlib2.writer.pool.PoolMethodProto.getReturnType(Unknown Source:2) at com.android.tools.smali.dexlib2.base.reference.BaseMethodProtoReference.compareTo(SourceFile:0) at com.android.tools.smali.dexlib2.base.reference.BaseMethodProtoReference.compareTo(SourceFile:0) at com.android.tools.smali.dexlib2.writer.DexWriter$3.compare(SourceFile:0) at com.android.tools.smali.dexlib2.writer.DexWriter$3.compare(SourceFile:0) at java.util.TimSort.mergeLo(TimSort.java:721) at java.util.TimSort.mergeAt(TimSort.java:518) at java.util.TimSort.mergeCollapse(TimSort.java:448) at java.util.TimSort.sort(TimSort.java:245) at java.util.Arrays.sort(Arrays.java:1495) at java.util.ArrayList.sort(ArrayList.java:1470) at java.util.Collections.sort(Collections.java:206) at com.android.tools.smali.dexlib2.writer.DexWriter.writeProtos(Unknown Source:20) at com.android.tools.smali.dexlib2.writer.DexWriter.writeTo(SourceFile:0) at com.android.tools.smali.dexlib2.writer.DexWriter.writeTo(SourceFile:0) at lanchon.multidexlib2.DexIO.writeMultiDexDirectoryCommon(Unknown Source:83) at lanchon.multidexlib2.DexIO.access$000(Unknown Source:0) at lanchon.multidexlib2.DexIO$1.call(SourceFile:0) at lanchon.multidexlib2.DexIO$1.call(SourceFile:0) at java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) at java.lang.Thread.run(Thread.java:1012) Something went wrong: PathNotFoundException: Cannot copy file to '/data/user/0/app.revanced.manager.flutter/files/lastPatchedApp.apk', path = '/data/user/0/app.revanced.manager.flutter/files/patcher/tmp-UKSKOA/out.apk' (OS Error: No such file or directory, errno = 2)
Follow the issue template
Device Info ReVanced Manager: 1.22.0 Model: LE2127 Android version: 14 Supported architectures: arm64-v8a, armeabi-v7a, armeabi Root permissions: Yes
Patch Info App: com.zhiliaoapp.musically v36.5.4 (Suggested: 36.5.4) Patches version: v4.15.0 Patches added: Default Patches removed: None Default patch options changed: None
Settings Allow changing patch selection: true Version compatibility check: true Show universal patches: false Patches source: revanced/revanced-patches Integration source: revanced/revanced-integrations
Logs Reading APK Decoding app manifest Loading patches Merging integrations Executing patches Applied 8 patches Compiling patched dex files Compiled 22 dex files An error occurred: java.lang.OutOfMemoryError: Failed to allocate a 32 byte allocation with 944032 free bytes and 921KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC. at com.android.tools.smali.dexlib2.dexbacked.value.DexBackedArrayEncodedValue.getValue(Unknown Source:0) at com.android.tools.smali.dexlib2.base.value.BaseArrayEncodedValue.hashCode(Unknown Source:0) at com.android.tools.smali.dexlib2.base.BaseAnnotationElement.hashCode(Unknown Source:14) at java.util.AbstractSet.hashCode(AbstractSet.java:124) at com.android.tools.smali.dexlib2.base.BaseAnnotation.hashCode(Unknown Source:21) at java.util.HashMap.hash(HashMap.java:337) at java.util.HashMap.put(HashMap.java:617) at com.android.tools.smali.dexlib2.writer.pool.AnnotationPool.intern(Unknown Source:7) at com.android.tools.smali.dexlib2.writer.pool.AnnotationSetPool.intern(Unknown Source:43) at com.android.tools.smali.dexlib2.writer.pool.ClassPool.intern(Unknown Source:298) at com.android.tools.smali.dexlib2.writer.pool.DexPool.internClass(Unknown Source:4) at lanchon.multidexlib2.DexIO.writeMultiDexDirectoryCommon(Unknown Source:27) at lanchon.multidexlib2.DexIO.access$000(Unknown Source:0) at lanchon.multidexlib2.DexIO$1.call(SourceFile:0) at lanchon.multidexlib2.DexIO$1.call(SourceFile:0) at java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) at java.lang.Thread.run(Thread.java:1012) Something went wrong: PathNotFoundException: Cannot copy file to '/data/user/0/app.revanced.manager.flutter/files/lastPatchedApp.apk', path = '/data/user/0/app.revanced.manager.flutter/files/patcher/tmp-EYJEFO/out.apk' (OS Error: No such file or directory, errno = 2)