Question

I know there are a lot of stackoverflow questions regarding this subject. But none of them seem to do it for me. This is my pom.xml file: http://pastebin.com/00ne7fHA

I've unchecked the Resolve dependencies for workspace projects in the maven project properties

And when I try to run the application on the connected android device I get this error:

java.lang.NoClassDefFoundError: android.support.v4.app.Fragment 

If I check 'Maven dependencies' in Build Path > Order and Export and then try to run, I get the following console error:

Conversion to Dalvik format failed with error 1

If I then update the maven project, 'Maven Dependencies' in Build Path > Order and Export are unchecked and I'm back to square one.

Was it helpful?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top