NoSuchMethodError encodeBase64String on an Android Application
I'm trying to use the libraries(couchbase-client-1.0.2,spymemcached-2.8.0, etc.) on a mobile android application, and following the starting tutorial, but in my main activity instead a java application, it compiles, but when I'm about to run the app on the emulator or my phone, I got this exception on logcat and my application crashes:
I don't know if I'm using the library on the right way but it seems that android, internally uses this apache library and it has an older version of the class(Base64) that doesn't contain that method.
Does anyone have an idea how to solve this problem?
As an alone java application, it doesn't throw that exception, and the example is running ok, with some problems on requesting an https URL, but it's another topic problem.
Sorry for my bad english and thanks in advance.