Wednesday, November 16, 2011

'Conversion to Dalvik format failed with error 1' and 'java.lang.IllegalArgumentException: already added: '

Recently we moved to Android SDK tools Rev 15 , In my opinion it has may problems comparing to previous versions of the SDK and should stick with the previous version if you are developing a huge applications and have library projects referenced.

Today, I got this error and few hours of Googling found the solution,

Remove the source folder link in Project properties->Java Build Path->Source

Clean and add the projects back, You will see that it will add the projects as jar files under "Library Projects" not as project_src anymore.

No comments:

Post a Comment