java - Why doesn't Android Studio recognize Base64.encodeBase64? -
i'm trying run following code, cannot use encodebase64().
i've tried import such libraries using alt + enter.

how can make work?
use this:
string result = base64.encodetostring(data, base64.default); instead of using, advice use: .getbytes("utf-8"); instead of data.getbytes(); utf-8 better choice. hope you.
Comments
Post a Comment