Skip to content Skip to sidebar Skip to footer

Nosuchmethoderror: String.isempty

Possible Duplicate: Scala on Android: java.lang.NoSuchMethodError: java.lang.String.isEmpty I've just released a new app on Android I've optimized and obfuscated the code with p

Solution 1:

There is TextUtils.isEmpty("your_String");, but haven't seen about your_string.isEmpty()

I found that your_string.isEmpty() works after 2.2 as it was added in 2.3 GingerBread. But, before that you can use TextUtils.isEmpty()

Post a Comment for "Nosuchmethoderror: String.isempty"