Logs
Copying APK
Reading APK
Decoding app manifest
Loading patches
Merging integrations
Deleting existing resource cache directory
Decoding resources
Executing patches
Applied 88 patches
Custom branding icon YouTube failed: app.revanced.patcher.patch.PatchException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.nio.file.NoSuchFileException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:220)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at java.nio.file.Files.copy(Files.java:3016)
at app.revanced.util.ResourceUtilsKt.copyResources(ResourceUtils.kt:62)
at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:162)
at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:17)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:177)
... 18 more
Hide trending searches failed: app.revanced.patcher.patch.PatchException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.ClassCastException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction
at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:75)
at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:21)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:174)
... 18 more
Compiling patched dex files
Compiled 8 dex files
Compiling modified resources
An error occurred:
brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip]
at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:246)
at brut.androlib.AaptInvoker.invokeAapt(AaptInvoker.java:391)
at app.revanced.patcher.data.ResourceContext.get(ResourceContext.kt:128)
at app.revanced.patcher.Patcher.get(Patcher.kt:265)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:375)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26)
at java.lang.Thread.run(Thread.java:1012)
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip]
at brut.util.OS.exec(OS.java:104)
at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:242)
... 7 more
Bug description
Device Info
ReVanced Manager: 1.18.1
Model: Pixel 8 Pro
Android version: 14
Supported architectures: arm64-v8a
Root permissions: Yes
Logs
Copying APK
Reading APK
Decoding app manifest
Loading patches
Merging integrations
Deleting existing resource cache directory
Decoding resources
Executing patches
Applied 88 patches
Custom branding icon YouTube failed: app.revanced.patcher.patch.PatchException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.nio.file.NoSuchFileException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:220)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at java.nio.file.Files.copy(Files.java:3016)
at app.revanced.util.ResourceUtilsKt.copyResources(ResourceUtils.kt:62)
at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:162)
at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:17)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:177)
... 18 more
Hide trending searches failed: app.revanced.patcher.patch.PatchException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.ClassCastException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction
at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:75)
at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:21)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:174)
... 18 more
Compiling patched dex files
Compiled 8 dex files
Compiling modified resources
An error occurred:
brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip]
at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:246)
at brut.androlib.AaptInvoker.invokeAapt(AaptInvoker.java:391)
at app.revanced.patcher.data.ResourceContext.get(ResourceContext.kt:128)
at app.revanced.patcher.Patcher.get(Patcher.kt:265)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:375)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26)
at java.lang.Thread.run(Thread.java:1012)
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip]
at brut.util.OS.exec(OS.java:104)
at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:242)
... 7 more
Error logs
- Device Info
ReVanced Manager: 1.18.1
Model: Pixel 8 Pro
Android version: 14
Supported architectures: arm64-v8a
Root permissions: Yes
- Patch Info
App: com.google.android.youtube v19.04.35 (Suggested: v19.02.39)
Patches version: v2.220.1
Patches added: Default
Patches removed: Custom package name, Hide account menu, Hide cast button, Hide category bar, Hide handle, Hide tooltip content, MicroG support, Disable auto captions, Spoof app version, Sanitize sharing links, Settings, Custom playback speed
Default patch options changed: None
- Settings
Allow changing patch selection: true
Version compatibility check: false
Show universal patches: false
Remove unused library: false
Patches source: inotia00/revanced-patches
Integration source: inotia00/revanced-integrations
- Logs
Copying APK
Reading APK
Decoding app manifest
Loading patches
Merging integrations
Deleting existing resource cache directory
Decoding resources
Executing patches
Applied 88 patches
Custom branding icon YouTube failed: app.revanced.patcher.patch.PatchException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.nio.file.NoSuchFileException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:220)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at java.nio.file.Files.copy(Files.java:3016)
at app.revanced.util.ResourceUtilsKt.copyResources(ResourceUtils.kt:62)
at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:162)
at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:17)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:177)
... 18 more
Hide trending searches failed: app.revanced.patcher.patch.PatchException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.ClassCastException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction
at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:75)
at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:21)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:174)
... 18 more
Compiling patched dex files
Compiled 8 dex files
Compiling modified resources
An error occurred:
brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip]
at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:246)
at brut.androlib.AaptInvoker.invokeAapt(AaptInvoker.java:391)
at app.revanced.patcher.data.ResourceContext.get(ResourceContext.kt:128)
at app.revanced.patcher.Patcher.get(Patcher.kt:265)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:375)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26)
at java.lang.Thread.run(Thread.java:1012)
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip]
at brut.util.OS.exec(OS.java:104)
at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:242)
... 7 more
Solution
Device Info
ReVanced Manager: 1.18.1
Model: Pixel 8 Pro
Android version: 14
Supported architectures: arm64-v8a
Root permissions: Yes
Logs
Copying APK
Reading APK
Decoding app manifest
Loading patches
Merging integrations
Deleting existing resource cache directory
Decoding resources
Executing patches
Applied 88 patches
Custom branding icon YouTube failed: app.revanced.patcher.patch.PatchException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.nio.file.NoSuchFileException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:220)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at java.nio.file.Files.copy(Files.java:3016)
at app.revanced.util.ResourceUtilsKt.copyResources(ResourceUtils.kt:62)
at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:162)
at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:17)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:177)
... 18 more
Hide trending searches failed: app.revanced.patcher.patch.PatchException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.ClassCastException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction
at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:75)
at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:21)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:174)
... 18 more
Compiling patched dex files
Compiled 8 dex files
Compiling modified resources
An error occurred:
brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip]
at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:246)
at brut.androlib.AaptInvoker.invokeAapt(AaptInvoker.java:391)
at app.revanced.patcher.data.ResourceContext.get(ResourceContext.kt:128)
at app.revanced.patcher.Patcher.get(Patcher.kt:265)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:375)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26)
at java.lang.Thread.run(Thread.java:1012)
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip]
at brut.util.OS.exec(OS.java:104)
at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:242)
... 7 more
Additional context
Device Info
ReVanced Manager: 1.18.1
Model: Pixel 8 Pro
Android version: 14
Supported architectures: arm64-v8a
Root permissions: Yes
Logs
Copying APK
Reading APK
Decoding app manifest
Loading patches
Merging integrations
Deleting existing resource cache directory
Decoding resources
Executing patches
Applied 88 patches
Custom branding icon YouTube failed: app.revanced.patcher.patch.PatchException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.nio.file.NoSuchFileException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:220)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at java.nio.file.Files.copy(Files.java:3016)
at app.revanced.util.ResourceUtilsKt.copyResources(ResourceUtils.kt:62)
at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:162)
at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:17)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:177)
... 18 more
Hide trending searches failed: app.revanced.patcher.patch.PatchException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8)
at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.ClassCastException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction
at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:75)
at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:21)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:174)
... 18 more
Compiling patched dex files
Compiled 8 dex files
Compiling modified resources
An error occurred:
brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip]
at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:246)
at brut.androlib.AaptInvoker.invokeAapt(AaptInvoker.java:391)
at app.revanced.patcher.data.ResourceContext.get(ResourceContext.kt:128)
at app.revanced.patcher.Patcher.get(Patcher.kt:265)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:375)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26)
at java.lang.Thread.run(Thread.java:1012)
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip]
at brut.util.OS.exec(OS.java:104)
at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:242)
... 7 more
Device Environment
Android 14
Acknowledgements
[X] This issue does not reproduce on unpatched YouTube or YT Music.
[X] This issue is not a duplicate of an existing bug report.
[X] I have chosen an appropriate title.
[X] All requested information has been provided properly.
[X] I have written the title and contents in English.
Type
Error while patching
Tools used
rvx-builder
Application
Device Info ReVanced Manager: 1.18.1 Model: Pixel 8 Pro Android version: 14 Supported architectures: arm64-v8a Root permissions: Yes
Patch Info App: com.google.android.youtube v19.04.35 (Suggested: v19.02.39) Patches version: v2.220.1 Patches added: Default Patches removed: Custom package name, Hide account menu, Hide cast button, Hide category bar, Hide handle, Hide tooltip content, MicroG support, Disable auto captions, Spoof app version, Sanitize sharing links, Settings, Custom playback speed Default patch options changed: None
Settings Allow changing patch selection: true Version compatibility check: false Show universal patches: false Remove unused library: false Patches source: inotia00/revanced-patches Integration source: inotia00/revanced-integrations
Logs Copying APK Reading APK Decoding app manifest Loading patches Merging integrations Deleting existing resource cache directory Decoding resources Executing patches Applied 88 patches Custom branding icon YouTube failed: app.revanced.patcher.patch.PatchException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185) at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4) at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61) at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230) at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280) at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1) at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344) at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0) at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26) at java.lang.Thread.run(Thread.java:1012) Caused by: java.nio.file.NoSuchFileException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:220) at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434) at java.nio.file.Files.newOutputStream(Files.java:216) at java.nio.file.Files.copy(Files.java:3016) at app.revanced.util.ResourceUtilsKt.copyResources(ResourceUtils.kt:62) at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:162) at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:17) at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:177) ... 18 more Hide trending searches failed: app.revanced.patcher.patch.PatchException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185) at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4) at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61) at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230) at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280) at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1) at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344) at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0) at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26) at java.lang.Thread.run(Thread.java:1012) Caused by: java.lang.ClassCastException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:75) at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:21) at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:174) ... 18 more Compiling patched dex files Compiled 8 dex files Compiling modified resources An error occurred: brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip] at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:246) at brut.androlib.AaptInvoker.invokeAapt(AaptInvoker.java:391) at app.revanced.patcher.data.ResourceContext.get(ResourceContext.kt:128) at app.revanced.patcher.Patcher.get(Patcher.kt:265) at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:375) at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0) at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26) at java.lang.Thread.run(Thread.java:1012) Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip] at brut.util.OS.exec(OS.java:104) at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:242) ... 7 more
Bug description
Device Info ReVanced Manager: 1.18.1 Model: Pixel 8 Pro Android version: 14 Supported architectures: arm64-v8a Root permissions: Yes
Patch Info App: com.google.android.youtube v19.04.35 (Suggested: v19.02.39) Patches version: v2.220.1 Patches added: Default Patches removed: Custom package name, Hide account menu, Hide cast button, Hide category bar, Hide handle, Hide tooltip content, MicroG support, Disable auto captions, Spoof app version, Sanitize sharing links, Settings, Custom playback speed Default patch options changed: None
Settings Allow changing patch selection: true Version compatibility check: false Show universal patches: false Remove unused library: false Patches source: inotia00/revanced-patches Integration source: inotia00/revanced-integrations
Logs Copying APK Reading APK Decoding app manifest Loading patches Merging integrations Deleting existing resource cache directory Decoding resources Executing patches Applied 88 patches Custom branding icon YouTube failed: app.revanced.patcher.patch.PatchException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185) at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4) at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61) at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230) at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280) at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1) at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344) at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0) at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26) at java.lang.Thread.run(Thread.java:1012) Caused by: java.nio.file.NoSuchFileException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:220) at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434) at java.nio.file.Files.newOutputStream(Files.java:216) at java.nio.file.Files.copy(Files.java:3016) at app.revanced.util.ResourceUtilsKt.copyResources(ResourceUtils.kt:62) at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:162) at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:17) at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:177) ... 18 more Hide trending searches failed: app.revanced.patcher.patch.PatchException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185) at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4) at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61) at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230) at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280) at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1) at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344) at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0) at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26) at java.lang.Thread.run(Thread.java:1012) Caused by: java.lang.ClassCastException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:75) at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:21) at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:174) ... 18 more Compiling patched dex files Compiled 8 dex files Compiling modified resources An error occurred: brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip] at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:246) at brut.androlib.AaptInvoker.invokeAapt(AaptInvoker.java:391) at app.revanced.patcher.data.ResourceContext.get(ResourceContext.kt:128) at app.revanced.patcher.Patcher.get(Patcher.kt:265) at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:375) at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0) at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26) at java.lang.Thread.run(Thread.java:1012) Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip] at brut.util.OS.exec(OS.java:104) at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:242) ... 7 more
Error logs
Solution
Device Info ReVanced Manager: 1.18.1 Model: Pixel 8 Pro Android version: 14 Supported architectures: arm64-v8a Root permissions: Yes
Patch Info App: com.google.android.youtube v19.04.35 (Suggested: v19.02.39) Patches version: v2.220.1 Patches added: Default Patches removed: Custom package name, Hide account menu, Hide cast button, Hide category bar, Hide handle, Hide tooltip content, MicroG support, Disable auto captions, Spoof app version, Sanitize sharing links, Settings, Custom playback speed Default patch options changed: None
Settings Allow changing patch selection: true Version compatibility check: false Show universal patches: false Remove unused library: false Patches source: inotia00/revanced-patches Integration source: inotia00/revanced-integrations
Logs Copying APK Reading APK Decoding app manifest Loading patches Merging integrations Deleting existing resource cache directory Decoding resources Executing patches Applied 88 patches Custom branding icon YouTube failed: app.revanced.patcher.patch.PatchException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185) at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4) at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61) at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230) at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280) at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1) at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344) at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0) at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26) at java.lang.Thread.run(Thread.java:1012) Caused by: java.nio.file.NoSuchFileException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:220) at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434) at java.nio.file.Files.newOutputStream(Files.java:216) at java.nio.file.Files.copy(Files.java:3016) at app.revanced.util.ResourceUtilsKt.copyResources(ResourceUtils.kt:62) at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:162) at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:17) at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:177) ... 18 more Hide trending searches failed: app.revanced.patcher.patch.PatchException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185) at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4) at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61) at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230) at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280) at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1) at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344) at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0) at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26) at java.lang.Thread.run(Thread.java:1012) Caused by: java.lang.ClassCastException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:75) at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:21) at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:174) ... 18 more Compiling patched dex files Compiled 8 dex files Compiling modified resources An error occurred: brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip] at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:246) at brut.androlib.AaptInvoker.invokeAapt(AaptInvoker.java:391) at app.revanced.patcher.data.ResourceContext.get(ResourceContext.kt:128) at app.revanced.patcher.Patcher.get(Patcher.kt:265) at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:375) at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0) at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26) at java.lang.Thread.run(Thread.java:1012) Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip] at brut.util.OS.exec(OS.java:104) at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:242) ... 7 more
Additional context
Device Info ReVanced Manager: 1.18.1 Model: Pixel 8 Pro Android version: 14 Supported architectures: arm64-v8a Root permissions: Yes
Patch Info App: com.google.android.youtube v19.04.35 (Suggested: v19.02.39) Patches version: v2.220.1 Patches added: Default Patches removed: Custom package name, Hide account menu, Hide cast button, Hide category bar, Hide handle, Hide tooltip content, MicroG support, Disable auto captions, Spoof app version, Sanitize sharing links, Settings, Custom playback speed Default patch options changed: None
Settings Allow changing patch selection: true Version compatibility check: false Show universal patches: false Remove unused library: false Patches source: inotia00/revanced-patches Integration source: inotia00/revanced-integrations
Logs Copying APK Reading APK Decoding app manifest Loading patches Merging integrations Deleting existing resource cache directory Decoding resources Executing patches Applied 88 patches Custom branding icon YouTube failed: app.revanced.patcher.patch.PatchException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185) at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4) at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61) at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230) at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280) at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1) at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344) at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0) at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26) at java.lang.Thread.run(Thread.java:1012) Caused by: java.nio.file.NoSuchFileException: /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/res/drawable-xhdpi/product_logo_youtube_color_24.png at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:220) at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434) at java.nio.file.Files.newOutputStream(Files.java:216) at java.nio.file.Files.copy(Files.java:3016) at app.revanced.util.ResourceUtilsKt.copyResources(ResourceUtils.kt:62) at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:162) at app.revanced.patches.youtube.layout.branding.icon.CustomBrandingIconPatch.execute(CustomBrandingIconPatch.kt:17) at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:177) ... 18 more Hide trending searches failed: app.revanced.patcher.patch.PatchException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:185) at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:203) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:8) at app.revanced.patcher.Patcher$apply$1.invoke(Unknown Source:4) at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61) at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230) at app.revanced.manager.flutter.MainActivity$runPatcher$1$2$1.invokeSuspend(MainActivity.kt:345) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280) at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1) at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1) at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:344) at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0) at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26) at java.lang.Thread.run(Thread.java:1012) Caused by: java.lang.ClassCastException: com.android.tools.smali.dexlib2.builder.instruction.BuilderInstruction21c cannot be cast to com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:75) at app.revanced.patches.youtube.general.trendingsearches.TrendingSearchesPatch.execute(TrendingSearchesPatch.kt:21) at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:174) ... 18 more Compiling patched dex files Compiled 8 dex files Compiling modified resources An error occurred: brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip] at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:246) at brut.androlib.AaptInvoker.invokeAapt(AaptInvoker.java:391) at app.revanced.patcher.data.ResourceContext.get(ResourceContext.kt:128) at app.revanced.patcher.Patcher.get(Patcher.kt:265) at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$37(MainActivity.kt:375) at app.revanced.manager.flutter.MainActivity.$r8$lambda$v-ELoclvC6W1vrKGstBtHifiD5Q(Unknown Source:0) at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(Unknown Source:26) at java.lang.Thread.run(Thread.java:1012) Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~CzGK2XyQM7Z-lsm1ttJlBw==/app.rvx.manager.flutter-JmnPyB4NsdieRCUiOhiFmg==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544150464, --version-name, 19.04.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.rvx.manager.flutter/cache/APKTOOL4208005106651838508.tmp, -0, arsc, -I, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/1.apk, --manifest, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/AndroidManifest.xml, /data/user/0/app.rvx.manager.flutter/cache/patcher/tmp-YJSSZC/cache/build/resources.zip] at brut.util.OS.exec(OS.java:104) at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:242) ... 7 more
Device Environment
Android 14
Acknowledgements