Outputted APK conflicts with the preinstalled APK
Hello there, Thanks for providing an easy-to-use script for building revanced apps.
Issue 1:
I have a small question though, lately I have noticed that the releases are not triggered or rather old. This is sadly the case in both the nighty page and the codeberg :/
So I ran the script locally using the provided instructions, but I'm getting an app with different options and different icons in comparison to the app that I used to download from the nighty page. :(
The last app I downloaded from the nighty page have the following info:
- App version 18.19.35
- The following app icon:
Issue 2:
Moreover, I'm sadly unable to install the outputted APK as it conflicts with an existing package.
See here:
How to reproduce:
- install java 21 zulu.
- run
sh -c "$(curl https://raw.githubusercontent.com/XDream8/revanced-creator/main/patch.sh)" - install the app on a non-rooted device with a from factory pre-installed YouTube app.
- you will get a conflict as shown in the image.
The outputted files:
This is a keystore issue. revanced-creator uses revanced-cli which generates a random keystore and uses it.
You can create your own keystore and pass it by using additional_args environment variable or flag like this:
export additional_args="--keystore=<keystore>"
Also there seems to be a problem with nightly. Here is the link to latest ci
@XDream8 could you please tell me how one should create one's own keystore? Am I missing something here?
Plus, to my understanding the keystore solution effects the issue 2, right? what is causing the app icon to differ from the revanced icon that i really like to the official YouTube icon when triggering the script?how come the yt apk from the github cli has the offical revanced icon and the local triggered cli Would using a custom keystore file brand the app with the YouTube icon?
Sorry for my ignorance and thanks in advance.
To create a keystore you can use this command: keytool -genkey -v -keystore revanced.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
The icon is related to Custom Branding patch. It was enabled by default before but now it is not.
Sorry for the late response :(