import java.awt.List; import java.awt.image.BufferedImage; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.I
I got the same error, but when i did as below, it resolved the issue. Instead of writing like this:
List nameValuePairs = new ArrayList(1);
use the below one:
ArrayList nameValuePairs = new ArrayList(1);