2020-09-28 android Base64.getEncode,getDecoder不兼容API26以下版本,替换 JavaBase64.getDecoder()和getEncoder()方法
import java.io.UnsupportedEncodingException;
public class Base64Utils {
private static char[] base64EncodeChars = new char[]
{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T',
.
原创
2020-09-28 10:39:05 ·
2867 阅读 ·
3 评论