zhkl0228 / unidbg

Allows you to emulate an Android native library, and an experimental iOS emulation
Apache License 2.0
3.79k stars 959 forks source link

大佬们这个环境要咋补呢,init方法它没得返回值,必然会调用callVoidMethod这个方法,这个方法只有一个出路就是抛出异常 #633

Open liuliang520530 opened 3 months ago

liuliang520530 commented 3 months ago

java.lang.UnsupportedOperationException: javax/crypto/Cipher->init(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V at com.github.unidbg.linux.android.dvm.AbstractJni.callVoidMethod(AbstractJni.java:985) at com.github.unidbg.linux.android.dvm.AbstractJni.callVoidMethod(AbstractJni.java:980)

ddzgy commented 3 months ago

点这里 改源码 at com.github.unidbg.linux.android.dvm.AbstractJni.callVoidMethod(AbstractJni.java:985)