JakeWharton/DiskLruCache — Issue #4: Should target Java 1.5 for pre-Gingerbread compatibility
Author: candrews
Created: 2012-01-14 21:57:25+00:00
State: open

In your pom.xml, you should target Java 1.5 (instead of 1.6) to ensure compatibility with pre-Gingerbread versions of Android.
For example, methods such as http://docs.oracle.com/javase/6/docs/api/java/lang/String.html#isEmpty%28%29 are not available until Android 2.3.