I get "java.lang.IllegalArgumentException: bad base-64" in the following code:
byte[] msgBytes = Base64.decode(msgStr, Base64.NO_WRAP);
msgString is a string, and right before that string I check the value of msgStr and this is "fl-ILw ==". Something is wrong?
Thanks.
android base64 illegalargumentexception
user1118764
source share