I'm trying to use the base64 class.
But I get this error
`base64()` is not public in `android.util.base64()`.
Cannot be accessed from outside package.
Here is how I use it:
package com.example.myname.myapp;
//...
import import android.util.Base64;
//...
Base64 base64 = new Base64(); //Here I get the error
//...
android.util.Base64 has no public constructors so it can't be instantiated directly. There is no need to create an instance anyway as the public API methods are all static.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With