Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: Maven trobules with ADT 14

recently I update my Android SDK to 14.0.0

Environment: Ubuntu 10.04, Eclipse Helios.

The project target is 8 (Android 2.2)

In my project I use maven. Then I try to build project i get next error: "Conversion to Dalvik format failed with error 1"

And the maven said next: "Cannot create the APKBuilder object null"

BUT, if i create Android project without maven - all OK.

UPDATE:

The cleaning project don't help me

like image 580
ihrupin Avatar asked Oct 25 '11 11:10

ihrupin


1 Answers

This looks like a known issue with the Android M2E Connector:

See here:

https://github.com/rgladwell/m2e-android/issues/45

and here:

http://code.google.com/p/android/issues/detail?id=21031

It looks like there is a fix for it with ADT 15 and the latest Android M2E Connector

Try to upgrade to the latest ADT 15 and Android M2E Connector using the instructions provided here on the m2e android connector site.

like image 137
nicordesigns Avatar answered Oct 13 '22 00:10

nicordesigns