NoClassDefFoundError on Android 2.1 only, using Guava Library
问题 I wrote an Android app that use the Guava library. The app works perfectly fine on Android 4 (virtual machine and real device). However, when I try to launch the app on a virtual machine running Android 2.1, I get the following error: java.lang.NoClassDefFoundError: com.google.common.collect.ImmutableSortedMap I have played with the libraries imports. The idea behind: older version of Android might handle jars in a different way. No success here. It is worth mentioning, that the app is an