-
-
Save rohandalvi/1794af8547fa7367abf8 to your computer and use it in GitHub Desktop.
Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Information:Gradle tasks [:app:assembleDebug] | |
Warning:Dependency org.json:json:20140107 is ignored for debug as it may be conflicting with the internal version provided by Android. | |
In case of problem, please repackage with jarjar to change the class packages | |
Warning:Dependency org.apache.httpcomponents:httpclient:4.3.5 is ignored for debug as it may be conflicting with the internal version provided by Android. | |
In case of problem, please repackage it with jarjar to change the class packages | |
Warning:Dependency org.json:json:20140107 is ignored for release as it may be conflicting with the internal version provided by Android. | |
In case of problem, please repackage with jarjar to change the class packages | |
Warning:Dependency org.apache.httpcomponents:httpclient:4.3.5 is ignored for release as it may be conflicting with the internal version provided by Android. | |
In case of problem, please repackage it with jarjar to change the class packages | |
:app:preBuild UP-TO-DATE | |
:app:preDebugBuild UP-TO-DATE | |
:app:compileDebugNdk UP-TO-DATE | |
:app:checkDebugManifest | |
:app:prepareDebugDependencies | |
:app:compileDebugAidl UP-TO-DATE | |
:app:compileDebugRenderscript UP-TO-DATE | |
:app:generateDebugBuildConfig UP-TO-DATE | |
:app:generateDebugAssets UP-TO-DATE | |
:app:mergeDebugAssets UP-TO-DATE | |
:app:generateDebugResValues UP-TO-DATE | |
:app:generateDebugResources UP-TO-DATE | |
:app:mergeDebugResources UP-TO-DATE | |
:app:processDebugManifest UP-TO-DATE | |
:app:processDebugResources UP-TO-DATE | |
:app:generateDebugSources UP-TO-DATE | |
:app:compileDebugJava UP-TO-DATE | |
:app:preDexDebug UP-TO-DATE | |
:app:dexDebug UP-TO-DATE | |
:app:processDebugJavaRes UP-TO-DATE | |
:app:validateDebugSigning | |
:app:packageDebug | |
Error:duplicate files during packaging of APK C:\Users\dalvir\AndroidStudioProjects\Find\app\build\outputs\apk\app-debug-unaligned.apk | |
Path in archive: LICENSE.txt | |
Origin 1: C:\Users\dalvir\.gradle\caches\modules-2\files-2.1\junit\junit\4.11\4e031bb61df09069aeb2bffb4019e7a5034a4ee0\junit-4.11.jar | |
Origin 2: C:\Users\dalvir\.gradle\caches\modules-2\files-2.1\org.hamcrest\hamcrest-core\1.3\42a25dc3219429f0e5d060061f71acb49bf010a0\hamcrest-core-1.3.jar | |
You can ignore those files in your build.gradle: | |
android { | |
packagingOptions { | |
exclude 'LICENSE.txt' | |
} | |
} | |
Error:Execution failed for task ':app:packageDebug'. | |
> Duplicate files copied in APK LICENSE.txt | |
File 1: C:\Users\dalvir\.gradle\caches\modules-2\files-2.1\junit\junit\4.11\4e031bb61df09069aeb2bffb4019e7a5034a4ee0\junit-4.11.jar | |
File 2: C:\Users\dalvir\.gradle\caches\modules-2\files-2.1\junit\junit\4.11\4e031bb61df09069aeb2bffb4019e7a5034a4ee0\junit-4.11.jar | |
Information:BUILD FAILED | |
Information:Total time: 3.277 secs | |
Information:2 errors | |
Information:4 warnings | |
Information:See complete output in console | |
Build Failed Error: | |
Executing tasks: [:app:assembleDebug] | |
Configuration on demand is an incubating feature. | |
WARNING: Dependency org.json:json:20140107 is ignored for debug as it may be conflicting with the internal version provided by Android. | |
In case of problem, please repackage with jarjar to change the class packages | |
WARNING: Dependency org.apache.httpcomponents:httpclient:4.3.5 is ignored for debug as it may be conflicting with the internal version provided by Android. | |
In case of problem, please repackage it with jarjar to change the class packages | |
WARNING: Dependency org.json:json:20140107 is ignored for release as it may be conflicting with the internal version provided by Android. | |
In case of problem, please repackage with jarjar to change the class packages | |
WARNING: Dependency org.apache.httpcomponents:httpclient:4.3.5 is ignored for release as it may be conflicting with the internal version provided by Android. | |
In case of problem, please repackage it with jarjar to change the class packages | |
:app:preBuild UP-TO-DATE | |
:app:preDebugBuild UP-TO-DATE | |
:app:compileDebugNdk UP-TO-DATE | |
:app:checkDebugManifest | |
:app:prepareDebugDependencies | |
:app:compileDebugAidl UP-TO-DATE | |
:app:compileDebugRenderscript UP-TO-DATE | |
:app:generateDebugBuildConfig UP-TO-DATE | |
:app:generateDebugAssets UP-TO-DATE | |
:app:mergeDebugAssets UP-TO-DATE | |
:app:generateDebugResValues UP-TO-DATE | |
:app:generateDebugResources UP-TO-DATE | |
:app:mergeDebugResources UP-TO-DATE | |
:app:processDebugManifest UP-TO-DATE | |
:app:processDebugResources UP-TO-DATE | |
:app:generateDebugSources UP-TO-DATE | |
:app:compileDebugJava UP-TO-DATE | |
:app:preDexDebug UP-TO-DATE | |
:app:dexDebug UP-TO-DATE | |
:app:processDebugJavaRes UP-TO-DATE | |
:app:validateDebugSigning | |
:app:packageDebug | |
Error: duplicate files during packaging of APK C:\Users\dalvir\AndroidStudioProjects\Find\app\build\outputs\apk\app-debug-unaligned.apk | |
Path in archive: LICENSE.txt | |
Origin 1: C:\Users\dalvir\.gradle\caches\modules-2\files-2.1\junit\junit\4.11\4e031bb61df09069aeb2bffb4019e7a5034a4ee0\junit-4.11.jar | |
Origin 2: C:\Users\dalvir\.gradle\caches\modules-2\files-2.1\org.hamcrest\hamcrest-core\1.3\42a25dc3219429f0e5d060061f71acb49bf010a0\hamcrest-core-1.3.jar | |
You can ignore those files in your build.gradle: | |
android { | |
packagingOptions { | |
exclude 'LICENSE.txt' | |
} | |
} | |
FAILED | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':app:packageDebug'. | |
> Duplicate files copied in APK LICENSE.txt | |
File 1: C:\Users\dalvir\.gradle\caches\modules-2\files-2.1\junit\junit\4.11\4e031bb61df09069aeb2bffb4019e7a5034a4ee0\junit-4.11.jar | |
File 2: C:\Users\dalvir\.gradle\caches\modules-2\files-2.1\junit\junit\4.11\4e031bb61df09069aeb2bffb4019e7a5034a4ee0\junit-4.11.jar | |
* Try: | |
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. | |
BUILD FAILED | |
Total time: 3.277 secs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment