String 变量=android.util.Base64.encodeToString(字符串.getBytes(),Base64.DEFAULT);
改成:
String 变量=android.util.Base64.encodeToString(字符串.getBytes(),Base64.NO_WRAP);即可
String 变量=android.util.Base64.encodeToString(字符串.getBytes(),Base64.DEFAULT);
改成:
String 变量=android.util.Base64.encodeToString(字符串.getBytes(),Base64.NO_WRAP);即可