java.lang.NoClassDefFoundError
android, java
Solution
ArrayDeque class is added in API level 9 so you can't use it in Android 2.2
Problem
I am currently getting an ArrayDeque class def not found error when testing my app on my phone(version 2.2) however i dont get the error when run in an emulator (2.3.3) Heres the Error: ``` java.lang.NoClassDefFoundError: java.util.ArrayDeque ``` Any help would be hugely appreciated.