I am getting following Exception on Android 2.2.1:
java.lang.NoSuchMethodError: java.lang.String.isEmpty
I am calling text.isEmpty
text.isEmpty
Use TextUtils.isEmpty() instead, available since API level 1.