ADT20 and external JAR
I've tried absolutely everything to avoid NoClassDefFoundError when trying to use an external jar. No cubes. WTF ADT ?!
From a clean, brand new project, add an external jar to create a path, paste in a folder libs
, make sure it's checked. Android -> Fix Project Properties, add and remove, rinse and repeat. I checked the contents of the jar and my files are there! I have referenced it in 20 ways, removed the added and rebuildable, yet the dern thing cannot be found.
Is there a way that from step 1 made the jar work externally inside Android using eclipse and ADT 20?
Edit 1
I tried to add it to folder only libs/
and tried what Ali suggested in this SO question . I think I should just try to add the source to my project directly, but that seems simple silly.
source to share
Oh My. Perfection.
It turns out Android (still) DOES NOT support Java 7 and when I created my external project it had 1.7 (Java 7) as its default compliance level! Switching this to fit my android project makes it all dandy.
Such things as
List<MyClass> mList = new ArrayList<>();
And the various @Override
apparently made Android a stick in the nose in the air.
Hope this helps someone else out there bald on this issue!
source to share