My Android app from what I've tested works fine with UK and US locales, but when I change the locale to ES I receive the following error:
java.lang.IllegalArgumentException: Unsupported ISO 3166 country: es
I've checked ISO 3166 and es is definitely a valid country code. I've tried changing it to upper case, no difference.
Here's the offending code:
Currency myCurrency;
myCurrency = Currency.getInstance(Locale.getDefault());
Any ideas?