kitadai31 / revanced-manager-android5-7

ReVanced Manager for Android 5.0-7.1
GNU General Public License v3.0
105 stars 8 forks source link

An error occurred: brut.androlib.exceptions.AndrolibException #13

Closed TheArgentinian closed 8 months ago

TheArgentinian commented 8 months ago

Bug description

I tried to apply the latest patch (v2.160.8). the previous one worked fine.

Version of ReVanced Manager and version & name of application you tried to patch

Version: 1.17.1 Android Version: 6.0.1 Supported Archs: armeabi-v7a, armeabi

com.google.android.youtube_17.34.36-1531307456_minAPI23(arm64-v8a,armeabi-v7a,x86,x86_64)(nodpi)_apkmirror.com.apk

Installation type

None

Device logs

- Device Info
ReVanced Manager: 1.17.1
Build: release
Model: Lenovo YT3-X50F
Android version: 6.0.1
Supported architectures: armeabi-v7a, armeabi
Root permissions: No

- Patch Info
App: com.google.android.youtube v17.34.36
Patches version: v2.160.8
Patches: client-spoof, custom-branding-icon-afn-red, custom-branding-name, custom-seekbar-color, custom-video-speed, default-video-quality, default-video-speed, disable-haptic-feedback, disable-update-screen, enable-external-browser, enable-minimized-playback, enable-old-quality-layout, enable-open-links-directly, enable-seekbar-tapping, enable-tablet-miniplayer, enable-wide-searchbar, force-vp9-codec, header-switch, hide-auto-captions, hide-auto-player-popup-panels, hide-autoplay-button, hide-button-container, hide-cast-button, hide-channel-watermark, hide-comment-component, hide-create-button, hide-crowdfunding-box, hide-email-address, hide-endscreen-cards, hide-endscreen-overlay, hide-filmstrip-overlay, hide-firsttime-background-notification, hide-flyout-panel, hide-fullscreen-panels, hide-general-ads, hide-info-cards, hide-live-chat-button, hide-mix-playlists, hide-next-prev-button, hide-player-captions-button, hide-player-overlay-filter, hide-shorts-button, hide-shorts-component, hide-snackbar, hide-startup-shorts-player, hide-suggested-actions, hide-time-and-seekbar, hide-tooltip-content, hide-video-ads, layout-switch, microg-support, optimize-resource, overlay-buttons, patch-options [Application Name of YouTube: ReVanced Extended, Package Name of YouTube: app.rvx.android.youtube, Custom Speed Values: 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0, 2.25, 2.5, 3.0, 5.0, Overlay button icon selection: new, Background color for the dark theme: @android:color/black], remove-player-button-background, return-youtube-dislike, shorts-seek, sponsorblock, spoof-app-version, spoof-player-parameters, swipe-controls, switch-create-notification, theme, translations

- Settings
Allow changing patch selection: false
Version compatibility check: true
Show universal patches: false
Patches source: kitadai31/revanced-patches-android6-7
Integration source: kitadai31/revanced-integrations

- Logs
Copying APK
Reading APK
Decoding app manifest
Loading patches
Merging integrations
Deleting existing resource cache directory
Decoding resources
Executing patches
client-spoof succeeded
custom-branding-icon-afn-red succeeded
custom-branding-name succeeded
custom-seekbar-color succeeded
custom-video-speed succeeded
default-video-quality succeeded
default-video-speed succeeded
disable-haptic-feedback succeeded
disable-update-screen succeeded
enable-external-browser succeeded
enable-minimized-playback succeeded
enable-old-quality-layout succeeded
enable-open-links-directly succeeded
enable-seekbar-tapping succeeded
enable-tablet-miniplayer succeeded
enable-wide-searchbar succeeded
force-vp9-codec succeeded
header-switch succeeded
hide-auto-captions succeeded
hide-auto-player-popup-panels succeeded
hide-autoplay-button succeeded
hide-button-container succeeded
hide-cast-button succeeded
hide-channel-watermark succeeded
hide-comment-component succeeded
hide-create-button succeeded
hide-crowdfunding-box succeeded
hide-email-address succeeded
hide-endscreen-cards succeeded
hide-endscreen-overlay succeeded
hide-filmstrip-overlay succeeded
hide-firsttime-background-notification succeeded
hide-flyout-panel succeeded
hide-fullscreen-panels succeeded
hide-general-ads succeeded
hide-info-cards succeeded
hide-live-chat-button succeeded
hide-mix-playlists succeeded
hide-next-prev-button succeeded
hide-player-captions-button succeeded
hide-player-overlay-filter succeeded
hide-shorts-button succeeded
hide-shorts-component succeeded
hide-snackbar succeeded
hide-startup-shorts-player succeeded
hide-suggested-actions succeeded
hide-time-and-seekbar succeeded
hide-tooltip-content succeeded
hide-video-ads succeeded
layout-switch succeeded
microg-support succeeded
optimize-resource succeeded
overlay-buttons succeeded
patch-options succeeded
remove-player-button-background succeeded
return-youtube-dislike succeeded
shorts-seek succeeded
sponsorblock succeeded
spoof-app-version succeeded
spoof-player-parameters succeeded
swipe-controls succeeded
switch-create-notification succeeded
theme succeeded
translations succeeded
Compiling modified dex files
Compiling modified resources
An error occurred:
brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 7): [/data/app/app.kitadai31.manager.flutter-1/lib/arm/libaapt2.so, link, -o, /data/user/0/app.kitadai31.manager.flutter/cache/patcher/tmp-ANTPPP/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 23, --target-sdk-version, 33, --version-code, 1531307456, --version-name, 17.34.36, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.kitadai31.manager.flutter/cache/APKTOOL-1699262479.tmp, -0, arsc, -I, /data/user/0/app.kitadai31.manager.flutter/cache/patcher/tmp-ANTPPP/cache/1.apk, --manifest, /data/user/0/app.kitadai31.manager.flutter/cache/patcher/tmp-ANTPPP/cache/AndroidManifest.xml, /data/user/0/app.kitadai31.manager.flutter/cache/patcher/tmp-ANTPPP/cache/build/resources.zip]
    at brut.androlib.AaptInvoker.invokeAapt2(SourceFile)
    at brut.androlib.AaptInvoker.invokeAapt(SourceFile)
    at app.revanced.patcher.data.ResourceContext.get(SourceFile:0)
    at app.revanced.patcher.Patcher.get(SourceFile:0)
    at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$33(SourceFile)
    at app.revanced.manager.flutter.MainActivity.$r8$lambda$S_uZlejwCCJ2DlEIsq6PpeMbHBY(SourceFile:0)
    at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda2.run(SourceFile:0)
    at java.lang.Thread.run(Thread.java:818)
Caused by: brut.common.BrutException: could not exec (exit code = 7): [/data/app/app.kitadai31.manager.flutter-1/lib/arm/libaapt2.so, link, -o, /data/user/0/app.kitadai31.manager.flutter/cache/patcher/tmp-ANTPPP/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 23, --target-sdk-version, 33, --version-code, 1531307456, --version-name, 17.34.36, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.kitadai31.manager.flutter/cache/APKTOOL-1699262479.tmp, -0, arsc, -I, /data/user/0/app.kitadai31.manager.flutter/cache/patcher/tmp-ANTPPP/cache/1.apk, --manifest, /data/user/0/app.kitadai31.manager.flutter/cache/patcher/tmp-ANTPPP/cache/AndroidManifest.xml, /data/user/0/app.kitadai31.manager.flutter/cache/patcher/tmp-ANTPPP/cache/build/resources.zip]
    at brut.util.OS.exec(SourceFile)
    ... 8 more

Patcher logs

No response

Acknowledgements

kitadai31 commented 8 months ago

Your device is ARMv7 (32bit), not supported. Use other device to patch.

TheArgentinian commented 8 months ago

Your device is ARMv7 (32bit), not supported. Use other device to patch.

Ok, how can I use the previous patch version, then?

kitadai31 commented 8 months ago

No, ARMv7 phone can't patch youtube apk with any version patches

TheArgentinian commented 8 months ago

No, ARMv7 phone can't patch youtube apk with any version patches

I managed to do it with my phone (for an old tablet). I didn't know you could save the new apk. It worked perfectly. Thank you for the offer. Appreciated.