You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have problem in signing stage of building apk. and cannot run instalation on phone because of this.
-: Signing with testkey...
Exception in thread "main" java.lang.IllegalAccessError: class com.android.apksig.internal.apk.v1.V1SchemeSigner (in unnamed module @0x7a46a697) cannot access class sun.security.x509.AlgorithmId (in module java.base) because module java.base does not export sun.security.x509 to unnamed module @0x7a46a697
at com.android.apksig.internal.apk.v1.V1SchemeSigner.getSupportedAlgorithmId(V1SchemeSigner.java:625)
at com.android.apksig.internal.apk.v1.V1SchemeSigner.(V1SchemeSigner.java:541)
at com.android.apksig.DefaultApkSignerEngine.(DefaultApkSignerEngine.java:149)
at com.android.apksig.DefaultApkSignerEngine.(DefaultApkSignerEngine.java:52)
at com.android.apksig.DefaultApkSignerEngine$Builder.build(DefaultApkSignerEngine.java:902)
at com.android.apksig.ApkSigner.sign(ApkSigner.java:259)
at com.android.apksig.ApkSigner.sign(ApkSigner.java:178)
at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:277)
at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:89)
-: Cleaning up...
The text was updated successfully, but these errors were encountered:
This is, how it is working for me (Win10 & ParrotOS)
Install java 20 (Win10), run download_tools.bat and deinstall java 20
Install Java 8 {1.8.0} (Win10/Linux)
That's it's
I have problem in signing stage of building apk. and cannot run instalation on phone because of this.
-: Signing with testkey...
Exception in thread "main" java.lang.IllegalAccessError: class com.android.apksig.internal.apk.v1.V1SchemeSigner (in unnamed module @0x7a46a697) cannot access class sun.security.x509.AlgorithmId (in module java.base) because module java.base does not export sun.security.x509 to unnamed module @0x7a46a697
at com.android.apksig.internal.apk.v1.V1SchemeSigner.getSupportedAlgorithmId(V1SchemeSigner.java:625)
at com.android.apksig.internal.apk.v1.V1SchemeSigner.(V1SchemeSigner.java:541)
at com.android.apksig.DefaultApkSignerEngine.(DefaultApkSignerEngine.java:149)
at com.android.apksig.DefaultApkSignerEngine.(DefaultApkSignerEngine.java:52)
at com.android.apksig.DefaultApkSignerEngine$Builder.build(DefaultApkSignerEngine.java:902)
at com.android.apksig.ApkSigner.sign(ApkSigner.java:259)
at com.android.apksig.ApkSigner.sign(ApkSigner.java:178)
at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:277)
at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:89)
-: Cleaning up...
The text was updated successfully, but these errors were encountered: