I am trying to encode and decode a String using android.util.Base64, but it gives a bad base-64 error.
The code with the problem is:
private byte[] base
remove the prefix string " data:image/png;base64, ", get the string of after "data:image/png;base64,", it can decode