Megatron King

Results 59 comments of Megatron King

可以试试3.0.0版本,升级了ASM。

我的AS版本信息,测试通过: Android Studio Arctic Fox | 2020.3.1 Patch 4 Build #AI-203.7717.56.2031.7935034, built on November 21, 2021 请提供下具体的AS版本信息。

Please try the 3.0.0 version, I have changed the encryption strategy. By the way, my library is not designed for security encryption, do not use this to protect your sensitive...

可以,反编译工具无非就是运行的时候执行了自动StringFogImpl.decrypt而已,但是他们的运行环境和真实应用的执行环境肯定是不一样的。你可以在decrypt函数里面加一些真实应用环境的判断,例如用Class.forName检查某些类是否能加载;反之,也可以检查某些是不是虚拟环境,返回个null啥的。这种自定义加密实现,可以参考sample2。

如果有结论了,麻烦回复下,我看看能不能集成进去。

需要详细的信息,例如是哪个依赖库导致的。

是个bug。建议先指定fogPackages,类似androidx这种没必要加密处理吧。