ReVanced / revanced-manager

💊 Application to use ReVanced on Android
https://revanced.app
GNU General Public License v3.0
17.4k stars 723 forks source link

bug: ReVanced Manager Fails to Patch Apps on Devices with Adoptable Storage #1744

Open jytmX opened 6 months ago

jytmX commented 6 months ago

Bug description

Issue: When attempting to use the ReVanced Manager app to patch various applications such as Twitter, YouTube Music, and YouTube on a device with adopted storage, the following error occurs:

Something went wrong:
PathNotFoundException: Creation failed, path = '/storage/emulated/0/Android/data/app.revanced.manager.flutter/files' (OS Error: No such file or directory, errno = 2)

This issue affects multiple applications and seems to be related to how the ReVanced Manager app handles file paths on devices with adopted storage.

Version of ReVanced Manager and version & name of app you are patching

Environment:

Installation method

Regular

ReVanced Manager logs

PathNotFoundException: Creation failed, path = '/storage/emulated/0/Android/data/app.revanced.manager.flutter/files' (OS Error: No such file or directory, errno = 2)

Patch logs

No response

Acknowledgements

EloquentMyDear commented 3 weeks ago

Also having this issue on Moto G 5G, makes YouTube Revanced unusable :(