BruceWind / AESJniEncrypt

🛡 Make safest code in Android. (基于libsodium实现chacha20算法,key在native中,防止被二次打包){长期维护,请star,勿fork}

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

为什么要屏蔽模拟器呢?

iostyle opened this issue · comments

为什么要屏蔽模拟器呢?如果想让模拟器可以运行的话,需要怎样配置

commented

very appreciate your question. I have never thought this situation.

Now, here are my answers for your questions:

question1: why do you block emulator?
answer: I think hackers like to use emulator.

question2: how to remove this feature?
answer: https://github.com/BruceWind/AESJniEncrypt/blob/master/aesjni/src/main/jni/JNIEncrypt.c#L74

delete check_is_emulator.

 if (check_signature(env, instance, context) != 1 || check_is_emulator(env) != 1) {
commented

I think every questions I have replied.
If there is no more questions, I'm going to close this issue.
Thanks.

Thank you