How to import smack in eclipse

I want to import smack in eclipse, but I found it was quite fussy.

First,I try running getMavenArtifactsNG.py to get library, but it was interrupted by a python error.

Then, I download those libraries through searching maven.

But, eclipse still tells me that some libraries are missing.

So I import jre system library[jre7].

Then the project can be complied and I get a jar file.

I import the the library project to my application project.

It shows me an error:

mutiple dex files define Lorg/jivesoftware/smack/ConnectionListener

I guess something wrong happened in the process.

What can I do now?