I use the Apache HTTPUtils core library 4.1.4 in my project to use the
EntityUtils.consume(HTTPEntity);
method.
However, when this method is used in the app in the emulator (SDK v.2.1), it crashes with a NoSuchMethodError.
I guess this is because the app tries to use the Android library which is old and doesn’t have this method instead of the newer one I’ve put in my build path.
How can I use force the app to use the newer library?
Worth to check out Using newer version of HttpClient on Android (like 4.1.x).