I am not really sure why I am getting this NoClassDefFoundError:
java.lang.NoClassDefFoundError: com.google.gson.Gson
I have the gson 2.2 library referenced in the Java Build Path. And the class has imported fine (well not really, but autocomplete works.)
My targetSdk is level 15 and the minSdk is 8.
Any ideas?
Do I need an older version of gson maybe? Should I post the code? Not really sure it is necessary, because Eclipse does not note any errors and the autocompletion works.
Thank you.
EDIT: Wish I could +1 you for that comment JoxTraex. That was it. What I had to do was the answer on this post here. Thanks a lot Jox.