I upgraded today Android Studio installation on a Linux Mint 18 machine at version 2.2 and I imported successfully my project in the new installation, however I can not run my app since I get the error message:
Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/LICENSE File1: /home/epdiamantopoulos/StudioProjects/Educational Difthera Trial Version/app/libs/httpcore-4.0.1.jar File2: /home/epdiamantopoulos/StudioProjects/Educational Difthera Trial Version/app/libs/commons-logging-1.1.1.jar
After looking at many similar posts I understood that this situation seems to be a common problem for many that appears with many variations and I tried many of the suggested solutions provided but with no luck (par example https://stackoverflow.com/questions/34031395/errorexecution-failed-for-task-apptransformresourceswithmergejavaresfordebughttps://stackoverflow.com/questions/34031395/errorexecution-failed-for-task-apptransformresourceswithmergejavaresfordebug).
I guess that the upgraded Android Studio is the key but I can not figure out what to do, thus I would appreciate any suggestions!