inotia00 / rvx-builder

A NodeJS ReVanced Extended builder
GNU General Public License v3.0
589 stars 51 forks source link

ERROR WHILE COMPILING MODIFIED RESOURCES FOR YOUTUBE #123

Closed sandirickyroy closed 1 year ago

sandirickyroy commented 1 year ago

USING:-

RVX BUILDER v3.10.1

OS: WINDOWS 11

ZULU 21.30.15-CA-JDK21.0.1-WIN_X64

FACING THIS ERROR: brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1)

SINCE RVX BUILDER v3.10.1 WAS RELEASED, THIS HAS BEEN A SERIOUS PROBLEM.

Screenshot 2023-10-29 004705

inotia00 commented 1 year ago

Remove the options.json file from the path where rvx-builder.exe exists And try again and the issue will be resolved

sandirickyroy commented 1 year ago

DELETED EVERYTHING, RESTARTED. STILL FACING SAME ERROR.

sandirickyroy commented 1 year ago

Remove the options.json file from the path where rvx-builder.exe exists And try again and the issue will be resolved

YOUR SUGGESTION DIDN'T WORK. PLEASE SCRUTINIZE THIS ISSUE.

inotia00 commented 1 year ago

There will be a folder named revanced-resource-cache in the directory where rvx-builder exists. Please compress the res directory under revanced-resource-cache and then upload it

※ And don't write your content in capital letters

thisissinior commented 1 year ago

hi there mate! thanks for the builder, I used it once before and have a working app on my phone right now, but not all premium features are working, no premium logo and I see ads again, I wanted to do a fresh apk but I confronted errors, I tried to delete all the files for a fresh start but the error remains the same, I'll attach screenshots, it would be a great help if you find out what I'm doing wrong Screenshot 2023-10-30 231143 Screenshot 2023-10-30 23091822

sandirickyroy commented 1 year ago

There you go... res.zip

inotia00 commented 1 year ago

hi there mate! thanks for the builder, I used it once before and have a working app on my phone right now, but not all premium features are working, no premium logo and I see ads again, I wanted to do a fresh apk but I confronted errors, I tried to delete all the files for a fresh start but the error remains the same, I'll attach screenshots, it would be a great help if you find out what I'm doing wrong

This is another issue unrelated to this issue Please open a new issue

inotia00 commented 1 year ago

There you go... res.zip

I checked the file you attached

It is assumed to be an error in Apktool, but it does not reproduce on my PC

Since it was presumed to be an error in Apktool, I downgraded the Apktool version of ReVanced CLI for testing purposes

revanced-cli-v4.0.4 (test build) https://we.tl/t-6uIBmf8FJU

There will be a folder named revanced in the directory where rvx-builder exists.

Overwrite revanced-cli-v4.0.4.jar there

Then run rvx-builder again and test whether the issue is resolved

sandirickyroy commented 1 year ago

It stopped after decoding resources for almost 12 minutes and then took another 6 minutes at "Compiling modified resources" stage and in the end It failed to compile and shows the same error message.

res.zip

image

inotia00 commented 1 year ago

If so I have no idea

I'm leaving the issue open because people who visit this page with the same issue may provide useful information.

sandirickyroy commented 1 year ago

You may now close it. After erasing every folder and downloading RVX-Builder again, I had to start over in order to address the issue and eventually it functioned. Screenshot 2023-11-02 125356

inotia00 commented 1 year ago

It's weird, but I'm glad your issue is resolved