cnc-robert / revanced-cli-script Goto Github PK
View Code? Open in Web Editor NEWBash script that builds & installs revanced. Java & Android SDK included. Also works on Windows with WSL.
Bash script that builds & installs revanced. Java & Android SDK included. Also works on Windows with WSL.
I get the package built and move it to my device for installation.
When I attempt to install, I get the following error:
App not installed.
The package appears to be corrupt.
Build environment:
Win10
WSL - Debian
java -version
openjdk version "1.8.0_332"
OpenJDK Runtime Environment (build 1.8.0_332-b09)
OpenJDK 64-Bit Server VM (build 25.332-b09, mixed mode)
./build-from-prebuilt.sh
Warning, no adb device specified. It is recommended to do so to automatically install the apk
Jun 09, 2022 6:48:28 PM brut.androlib.res.AndrolibResources loadMainPkg
INFO: Loading resource table...
Jun 09, 2022 6:48:33 PM brut.androlib.res.AndrolibResources decodeManifestWithResources
INFO: Decoding AndroidManifest.xml with resources...
Jun 09, 2022 6:48:33 PM brut.androlib.res.AndrolibResources loadFrameworkPkg
INFO: Loading resource table from file: /home/skynet/.local/share/apktool/framework/1.apk
Jun 09, 2022 6:48:36 PM brut.androlib.res.AndrolibResources adjustPackageManifest
INFO: Regular manifest package...
Jun 09, 2022 6:48:36 PM brut.androlib.res.AndrolibResources decode
INFO: Decoding file-resources...
Jun 09, 2022 6:48:40 PM brut.androlib.res.AndrolibResources decode
INFO: Decoding values */* XMLs...
Exception in thread "main" java.lang.NoSuchMethodError: java.util.jar.JarEntry.getRealName()Ljava/lang/String;
at app.revanced.patcher.util.patch.implementation.JarPatchBundle$loadPatches$2.invoke(JarPatchBundle.kt:27)
at app.revanced.patcher.util.patch.implementation.JarPatchBundle$loadPatches$2.invoke(JarPatchBundle.kt:13)
at app.revanced.patcher.util.patch.util.StringIterator.next(StringIterator.kt:9)
at app.revanced.patcher.util.patch.util.StringIterator.next(StringIterator.kt:3)
at app.revanced.patcher.util.patch.base.PatchBundle.loadPatches$revanced_patcher(PatchBundle.kt:19)
at app.revanced.patcher.util.patch.implementation.JarPatchBundle.loadPatches(JarPatchBundle.kt:13)
at app.revanced.utils.patcher.PatcherKt.addPatchesFiltered(Patcher.kt:19)
at app.revanced.cli.Patcher$Companion.start$revanced_cli(Patcher.kt:17)
at app.revanced.cli.MainCommand.run(MainCommand.kt:88)
at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
at picocli.CommandLine.access$1300(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
at picocli.CommandLine.execute(CommandLine.java:2078)
at app.revanced.cli.MainKt.main(Main.kt:6)
cp: cannot stat '/home/skynet/Desktop/revanced/build/revanced.apk': No such file or directory
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.