Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java.lang.NoClassDefFoundError

Tags:

java

android

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.

like image 214
George Phillips Avatar asked Dec 17 '22 01:12

George Phillips


1 Answers

ArrayDeque class is added in API level 9 so you can't use it in Android 2.2

like image 117
Mahdi Hijazi Avatar answered Dec 22 '22 00:12

Mahdi Hijazi