MegatronKing / StringFog

一款自动对字节码中的字符串进行加密Android插件工具
Apache License 2.0
1.71k stars 343 forks source link

java.util.Base64报错 #87

Closed 1976222027 closed 2 years ago

1976222027 commented 2 years ago

报错
java.lang.NoClassDefFoundError: Failed resolution of: Ljava/util/Base64; at com.jeacher.app.StringFog.decrypt(StringFog.java:13)

根据java.util.Base64 documentation,它只在API26中添加。在此之前,惟一的应用程序接口是android.util.Base64 class

redmi111 commented 2 years ago

Yeah, I had faced the same issue. @MegatronKing Consider adding device API version check and use correct package to call Base64 class.

MegatronKing commented 2 years ago

已解决,更新4.0.1版本