bug: Manager crashes after selecting APK from storage
Type
Error while running the manager
Branch
Flutter
Bug description
After selecting the APK from storage the manager closes.
Steps to reproduce
- Download YouTube v17.33.42 full APK from APK mirror.
- Point manager to the downloaded file.
- Select video ads patch
- Start patching
Relevant log output
I don't know how to upload the logcat.
Full log text doesn't fit here!
kotlin.io.NoSuchFileException: /data/local/tmp/revanced-manager/com.google.android.youtube/original.apk: The source file doesn't exist.
Screenshots or videos
No response
Solution
No response
Additional context
Log file: https://file.io/v5bnKSZjw6ig
https://file.io/v5bnKSZjw6ig Link to log file
Android version?
Android version?
12
include microg for non root. if you want root install you need to install youtube first.
include microg for non root. if you want root install you need to install youtube first.
I did that first, but YouTube kept crashing upon start after being patched Tried install as root and also regular install (regular after uninstalling YouTube to prevent signature mismatch error)
You also need microg installed on device for non root.
I deleted /data/local/tmp/revanced-manager directory and that specific error stopped happening. At least now the patching process finishes.
@ponces can you take a look why this happens exactly? i think moving away from File.CopyTo() caused it.
Can you test v0.0.16 and check if it is fixed?
i tested this with .17 and it was still happening had to manually remove the tmp folder to get it working same behaviour for tiktok and youtube aswell