---
title: "“Conversion to Dalvik format failed with error 1” on external JAR"  
description: "“Conversion to Dalvik format failed with error 1” on external JAR"  
author: "Anonymous User"  
published: 2015-05-19  
updated: 2015-05-19  
canonical: https://www.mindstick.com/forum/23238/conversion-to-dalvik-format-failed-with-error-1-on-external-jar  
category: "android"  
tags: ["android"]  
reading_time: 1 minute  

---

# “Conversion to Dalvik format failed with error 1” on external JAR

In my [Android application](https://www.mindstick.com/forum/33405/how-to-get-the-build-version-number-of-your-android-application) in Eclipse I get the following error.\
UNEXPECTED TOP-LEVEL [EXCEPTION](https://www.mindstick.com/articles/1824/objective-c-exception-handling):java.lang.IllegalArgumentException: [already](https://yourviews.mindstick.com/view/88453/the-hidden-ways-ai-is-already-controlling-your-daily-life) added: Lorg/xmlpull/v1/XmlPullParser;....[Conversion](https://www.mindstick.com/forum/1734/conversion-from-32-bit-integer-to-4-chars) to Dalvik format [failed](https://www.mindstick.com/forum/160484/error-failed-to-launch-debug-adapter-additional-information-may-be-available-in-the-output-window) with error 1This error only appears when I add a specific [external](https://www.mindstick.com/articles/12810/how-to-connect-tablet-to-external-monitor-or-flat-screen-tv-using-computer-adapters) JAR file to my project. I searched for a long time for the possible solution, but none of the possible [solutions](https://www.mindstick.com/articles/12807/product-searching-issues-and-solutions-for-ecommerce-store-advanced-search-autocomplete-suggest) work. I even tried to change to Android 1.6 instead of 1.5 (the current [version](https://www.mindstick.com/articles/12845/things-to-remember-while-migrating-odoo-to-a-better-version) I use).

## Replies

### Reply by Anonymous User

I solved the problem.\
It seems that I have two JAR files on my buildpath that include the same package and classes.\
smack.jar and android_maps_lib-1.0.2\
Deleting this package from one of the JAR files solved the problem.


---

Original Source: https://www.mindstick.com/forum/23238/conversion-to-dalvik-format-failed-with-error-1-on-external-jar

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
