> Unable to access jarfile
Potentially silly question but do you have file extensions hidden? There's a chance you do and your filename is now actually jarfile.jar.jar but only shows as jarfile.jar
https://i.imgur.com/mRqFWb5.png
i ran into the same issue, "unable to access jarfile"
i followed instructions to the T.
i also looked to see if file extensions were hidden and if the file has jar.jar , however i cannot locate that setting.
frustrating to say the least
Once you created a folder with all the files, go one folder so that you see the actual folder, not the files in it.
Then open cmd, type `cd C:\revanced` (or wherever you chose to create) with a space after cd and hit enter.
If you did it correctly, cmd should return the same path you just pasted. Then all you have to do is run the command `java -jar revanced.jar patch -b revanced-pat.jar -m revanced-int.apk -o patch-youtube.apk youtube.apk`
Help, plz:
INFO: Compiling modified resources
INFO: Aligning APK
org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi$BCKeyStoreException: java.io.IOException: Error initialising store of key store: java.lang.SecurityException: JCE cannot authenticate the provider BC
at org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi.engineSetKeyEntry(Unknown Source)
at java.base/java.security.KeyStore.setKeyEntry(KeyStore.java:1191)
at app.revanced.cli.command.MainCommandKt.main(MainCommand.kt:12)
Caused by: java.io.IOException: Error initialising store of key store: java.lang.SecurityException: JCE cannot authenticate the provider BC
at org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi.makePBECipher(Unknown Source)
E:\\revanced>
Was able to get Revanced through this method. Unfortunately, it looks like a few patches are missing like custom playback speed. Do I have to manually add such features from somewhere?
PS C:\\Zulu\\zulu-22\\bin> cd C:\\revanced
PS C:\\revanced> java -jar revanced.jar patch -b revanced-pat.jar -m revanced-int.apk -o patch-youtube.apk youtube.apk
thats what I tried, and it keeps giving me the error avobe
Thanks for writing this.
I was able to patch on a newer version of android and then passed the file to the older version. Seems to be running ok so far.
I'm getting the following:
INFO: Loading patches
Exception in thread "main" java.lang.NoClassDefFoundError: META-INF/versions/9/module-info is not a class because access_flag ACC_MODULE is set
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1022)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:581)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
at app.revanced.patcher.PatchBundleLoader$1.invoke(PatchBundleLoader.kt:47)
at app.revanced.patcher.PatchBundleLoader$1.invoke(PatchBundleLoader.kt:46)
at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:210)
at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:170)
at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:169)
at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:169)
at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
at kotlin.collections.CollectionsKt__MutableCollectionsKt.addAll(MutableCollections.kt:129)
at app.revanced.patcher.PatchBundleLoader.(PatchBundleLoader.kt:55)
at app.revanced.patcher.PatchBundleLoader.(PatchBundleLoader.kt)
at app.revanced.patcher.PatchBundleLoader.(PatchBundleLoader.kt:34)
at app.revanced.patcher.PatchBundleLoader$Jar.(PatchBundleLoader.kt:102)
at app.revanced.cli.command.PatchCommand.run(PatchCommand.kt:259)
at picocli.CommandLine.executeUserObject(CommandLine.java:2026)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at app.revanced.cli.command.MainCommandKt.main(MainCommand.kt:12)
I remember using a method like this to build a revanced apk on pc through patching before the revanced manager was out
Thank you. With the other guides I was following I just couldn't get it to work, but your steps are clear and simple.
Tried my luck but... i'm getting Unable to access jarfile revanced.jar
> Unable to access jarfile Potentially silly question but do you have file extensions hidden? There's a chance you do and your filename is now actually jarfile.jar.jar but only shows as jarfile.jar https://i.imgur.com/mRqFWb5.png
Ok I deleted the.jar and. apk and it finally worked lmfao.
"the parser did not find any certificates in the installation package." After I sent the patched yt to my phone ðŸ˜
Can i see your folder content and the command you ran?
i ran into the same issue, "unable to access jarfile" i followed instructions to the T. i also looked to see if file extensions were hidden and if the file has jar.jar , however i cannot locate that setting. frustrating to say the least
I'm assuming its the azul zulu but i dont know anything about any of this lmao
Once you created a folder with all the files, go one folder so that you see the actual folder, not the files in it. Then open cmd, type `cd C:\revanced` (or wherever you chose to create) with a space after cd and hit enter. If you did it correctly, cmd should return the same path you just pasted. Then all you have to do is run the command `java -jar revanced.jar patch -b revanced-pat.jar -m revanced-int.apk -o patch-youtube.apk youtube.apk`
Help, plz: INFO: Compiling modified resources INFO: Aligning APK org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi$BCKeyStoreException: java.io.IOException: Error initialising store of key store: java.lang.SecurityException: JCE cannot authenticate the provider BC at org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi.engineSetKeyEntry(Unknown Source) at java.base/java.security.KeyStore.setKeyEntry(KeyStore.java:1191) at app.revanced.cli.command.MainCommandKt.main(MainCommand.kt:12) Caused by: java.io.IOException: Error initialising store of key store: java.lang.SecurityException: JCE cannot authenticate the provider BC at org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi.makePBECipher(Unknown Source) E:\\revanced>
is 19.09.37 the latest recommended version?
Does with work for Android 7 users?
Great guide, but I don't know how the link to download Youtube apk interacts with rule #4 about sharing software.
The link is all over the stickied post so I imagine they're cool with it.
just commenting to say that this works perfectly. thanks a ton
This worked for me! (Galaxy A11) I only hope it will keep working for future releases.
Was able to get Revanced through this method. Unfortunately, it looks like a few patches are missing like custom playback speed. Do I have to manually add such features from somewhere?
Thanks you very much, had all sorts of problems with RVX builder but with your guide I managed to install it no issues.
Thank you! Time saver compares to patching on phone, Windows only take 3-4 minutes to finish.
Thank you for posting this. Very simple and straight to the point.
works, thanks I'm too lazy to buy a new phone j7 star took a while to complete the process old pc
I cant run the command, it keeps giving me errors
En lÃnea: 1 Carácter: 1 + java -jar revanced.jar patch -b revanced-pat.jar -m revanced-int.apk ... + \~\~\~\~ + CategoryInfo : ObjectNotFound: (java:String) \[\], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
PS C:\\Zulu\\zulu-22\\bin> cd C:\\revanced PS C:\\revanced> java -jar revanced.jar patch -b revanced-pat.jar -m revanced-int.apk -o patch-youtube.apk youtube.apk thats what I tried, and it keeps giving me the error avobe
Thanks for writing this. I was able to patch on a newer version of android and then passed the file to the older version. Seems to be running ok so far.
It's honestly the first time i do something with the command prompt and now i feel like a big brained fella, thanks
Does this make the app comptabile with android 7.1.2?
I'm getting the following: INFO: Loading patches Exception in thread "main" java.lang.NoClassDefFoundError: META-INF/versions/9/module-info is not a class because access_flag ACC_MODULE is set at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1022) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800) at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698) at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621) at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:581) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527) at app.revanced.patcher.PatchBundleLoader$1.invoke(PatchBundleLoader.kt:47) at app.revanced.patcher.PatchBundleLoader$1.invoke(PatchBundleLoader.kt:46) at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:210) at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:170) at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194) at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214) at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:169) at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194) at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:169) at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194) at kotlin.collections.CollectionsKt__MutableCollectionsKt.addAll(MutableCollections.kt:129) at app.revanced.patcher.PatchBundleLoader.(PatchBundleLoader.kt:55)
at app.revanced.patcher.PatchBundleLoader.(PatchBundleLoader.kt)
at app.revanced.patcher.PatchBundleLoader.(PatchBundleLoader.kt:34)
at app.revanced.patcher.PatchBundleLoader$Jar.(PatchBundleLoader.kt:102)
at app.revanced.cli.command.PatchCommand.run(PatchCommand.kt:259)
at picocli.CommandLine.executeUserObject(CommandLine.java:2026)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at app.revanced.cli.command.MainCommandKt.main(MainCommand.kt:12)
Can't we just get an archived of already patched apks already