Closed DeeparthGupta closed 1 year ago
Can you try patching without predictive-back-gesture
and remove-screenshot-restriction
and report back.
Still fails to compile.
Initializing installer
Creating working directory
Copying original apk
Unpacking input apk
Reading dex files
Decoding AndroidManifest.xml only, because resources are not needed
Merging integrations
Deleting existing resource cache directory
Decoding resources
Applied client-spoof
Applied copy-video-url
Applied custom-branding
Applied disable-auto-captions
Applied disable-fullscreen-panels
Applied disable-player-popup-panels
Applied disable-shorts-on-startup
Applied disable-zoom-haptics
Applied downloads
Applied hide-ads
Applied hide-cast-button
Applied hide-crowdfunding-box
Applied hide-get-premium
Applied hide-player-overlay
Applied hide-shorts-components
Applied minimized-playback
Applied navigation-buttons
Applied open-links-externally
Applied remember-video-quality
Applied seekbar-tapping
Applied swipe-controls
Applied theme
Applied video-ads
Repacking patched apk
Compiling resources
An error occurred! Aborting
Error:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~W74MAAzcx2fCAtrlsU1rIg==/app.revanced.manager.flutter-dV0w9hKB_CTx9BVNu8jrcw==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-OPJQXV/cache/aapt_temp_file, --min-sdk-version, 26, --target-sdk-version, 33, --version-code, 1537727936, --version-name, 18.19.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.revanced.manager.flutter/cache/APKTOOL476946670821494192.tmp, -0, arsc, -I, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-OPJQXV/cache/1.apk, --manifest, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-OPJQXV/cache/AndroidManifest.xml, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-OPJQXV/cache/build/resources.zip]
at brut.androlib.res.AndrolibResources.aapt2Package(AndrolibResources.java:484)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:619)
at app.revanced.patcher.Patcher.save(Patcher.kt:126)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda-20(MainActivity.kt:217)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$Rd-IpIH_jmxD15EWmBEFM-jtGsk(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda13.run(Unknown Source:24)
at java.lang.Thread.run(Thread.java:1012)
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~W74MAAzcx2fCAtrlsU1rIg==/app.revanced.manager.flutter-dV0w9hKB_CTx9BVNu8jrcw==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-OPJQXV/cache/aapt_temp_file, --min-sdk-version, 26, --target-sdk-version, 33, --version-code, 1537727936, --version-name, 18.19.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.revanced.manager.flutter/cache/APKTOOL476946670821494192.tmp, -0, arsc, -I, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-OPJQXV/cache/1.apk, --manifest, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-OPJQXV/cache/AndroidManifest.xml, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-OPJQXV/cache/build/resources.zip]
at brut.util.OS.exec(OS.java:99)
at brut.androlib.res.AndrolibResources.aapt2Package(AndrolibResources.java:480)
... 6 more`
I am getting the same error, except that I have a rooted Google Pixel 2 XL which runs on a ARMv8 architecture
same error courbet (xiaomi) ARMv7 with custom rom
Having a similar issue on OnePlus Nord N20 Rooted
Saying not supported to compile on Arm v7a(I have arm v8a) then proceeds to try and compile and fails.
Worked fine to compile on previous version but now background playback keeps stopping and I can't do anything about it.
This is not an issue with ReVanced Manager, but AAPT that is used by ReVanced Patcher. Closing therefor.
Type
Error at runtime
Bug description
I get a compilation error when trying to patch youtube v18.19.35 on a Oneplus 10 pro. I've unselected microG support. When I hit patch I get a dialog that says patching on arm-v7 is not supported. My phone runs on armv9. I had successfully patched 18.16 some time ago before the latest manager update. I found similar bug reports but the user was either on arm-v9 or trying to get microG support.
Steps to reproduce
Patch youtube via the manager as intended.
Android version
Oxygen OS 13.0
Manager version
1.3.0
Target package name
com.google.android.youtube
Target package version.
18.19.35
Installation type
Root
Patches selected.
client-spoof copy-video-url custom-branding disable-auto-captions disable-fullscreen-panels disable-player-popup-panels disable-shorts-on-startup disable-zoom-haptics downloads hide-ads hide-cast-button hide-crowdfunding-box hide-get-premium hide-player-overlay hide-shorts-components minimized-playback navigation-buttons open-links-externally predictive-back-gesture remember-video-quality remove-screenshot-restriction seekbar-tapping swipe-controls theme video-ads
Device logs (exported using Manager settings).
Installer logs (exported using Installer menu option) [unneeded if issue is not during patching].
Screenshots or videos
No response
Solution
No response
Additional context
No response
Acknowledgements