Bin4ry / deejayeye-modder

Other
363 stars 145 forks source link

Exception in "signing with testkey" #234

Open kresoSoker opened 1 year ago

kresoSoker commented 1 year ago

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...

up2smoke commented 1 year ago

+1

up2smoke commented 1 year ago

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