How do I import correctly using Maven in Android Studio?

1

I imported org.apache.commons:commons-email through the ALT + SHIFT + CTRL + S command in Android Studio. The class has identified without problems but I can not compile the project! PS: I entered the error directory and only has a file activation-1.1.1.jar

  

21:30:01 Gradle build finished with 2 error (s) in 34 sec   Error: duplicate files during packaging of APK   /home/daniela/AndroidStudioProjects/ConnectSP/app/build/outputs/apk/app-debug-unaligned.apk   Error: Execution failed for task ': app: packageDebug'.

     
    

Duplicate files copied in META-INF / LICENSE.txt APK File 1: /home/daniela/.gradle/caches/modules-2/files-2.1/javax.activation/activation/1.1.1/485de3a253e23f645037828c07f1d7f1af40763a/activation- 1.1.1.jar       File 2:     /home/daniela/.gradle/caches/modules-2/files-2.1/javax.activation/activation/1.1.1/485de3a253e23f645037828c07f1d7f1af40763a/activation-1.1.1.jar

  

    
asked by anonymous 24.03.2015 / 01:33

0 answers