Android about:: App:clean:app:preBuild up-to-date:app:predebugbuild up-to-date, referencing jar conflict issues

Source: Internet
Author: User

Error message:
Information:gradle tasks [: App:clean,: app:generatedebugsources,: App:generatedebugandroidtestsources,: App: Preparedebugunittestdependencies,: App:mockableandroidjar,: App:assembledebug]
: App:clean
: App:prebuild Up-to-date
: App:predebugbuild Up-to-date
: App:checkdebugmanifes

。。。。。。

: Flycotablayout_lib:packagereleaserenderscript Up-to-date

: Flycotablayout_lib:transformresourceswithmergejavaresforrelease Up-to-date

: Flycotablayout_lib:transformnative_libswithmergejnilibsforrelease Up-to-date
: Flycotablayout_lib:transformnative_libswithsyncjnilibsforrelease Up-to-date
: Flycotablayout_lib:bundlerelease Up-to-date
: App:prereleasebuild Up-to-date
: App:preparecodetestflycotablayout_lib150library

: app:generatedebugandroidtestsources
: App:predebugunittestbuild Up-to-date
: app:preparedebugunittestdependencies
: App:mockableandroidjar Up-to-date
: App:compiledebugjavawithjavac
Note: Some of the input files use or overwrite outdated APIs.
Note: For more information, please recompile using-xlint:deprecation.
Note: E:\codetest\app\src\main\Java\com\neipin\app\activity\EditInformationActivity.java is using an unchecked or unsafe operation.
Note: For more information, please recompile using-xlint:unchecked.
: App:compiledebugndk Up-to-date
: app:compiledebugsources
: App:buildinfodebugloader
: App:transformclasseswithextractjarsfordebug

: App:generatedebuginstantrunappinfo
: App:transformclasseswithdexfordebug
Allocated Dexexecutorservice of size 1
Dexing E:\codetest\app\build\intermediates\exploded-aar\com. Android.support\support-v4\23.1.1\jars\libs\internal_impl-23.1.1.jar took 3347
Dexing E:\codetest\app\build\intermediates\exploded-aar\com.android.support\support-v4\23.1.1\jars\classes.jar Took 7057
Dexing E:\codetest\app\build\intermediates\exploded-aar\com.flyco.roundview\FlycoRoundView_Lib\1.1.2\jars\ Classes.jar took 431
Dexing E:\codetest\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.1.1\jars\ Classes.jar took 4074
Dexing E:\codetest\app\build\intermediates\incremental-classes\debug\classes.jar took 338
Dexing E:\codetest\app\build\intermediates\incremental-runtime-classes\debug\instant-run.jar took 1768
Dexing E:\codetest\app\build\intermediates\transforms\instantRun\debug\folders\1\5\main took 5800
Dexing E:\codetest\app\build\intermediates\exploded-aar\com.bigkoo\pickerview\2.0.8\jars\classes.jar took 961
Dexing C:\Users\zyy.gradle\caches\modules-2\files-2.1\com.jakewharton\butterknife\7.0.1\ D5d13ea991eab0252e3710e5df3d6a9d4b21d461\butterknife-7.0.1.jar took 1297
Dexing E:\SDK_JDK\android-sdk\extras\android\m2repository\com\android\support\support-annotations\23.1.1\ Support-annotations-23.1.1.jar took 222
Dexing E:\codetest\app\build\intermediates\exploded-aar\com.7heaven.ioswidget\iosswitch\0.5\jars\libs\library_ Nineoldandroids.jar took 1969
Dexing E:\codetest\app\build\intermediates\exploded-aar\com.7heaven.ioswidget\iosswitch\0.5\jars\classes.jar Took 716
Dexing C:\Users\zyy.gradle\caches\modules-2\files-2.1\com.nineoldandroids\library\2.4.0\ E9b63380f3a242dbdbf103a2355ad7e43bad17cb\library-2.4.0.jar took 2242
Error:error converting bytecode to Dex:
Cause:com.android.dex.DexException:Multiple dex Files Define lcom/nineoldandroids/animation/animator$ Animatorlistener;
: App:transformclasseswithdexfordebug FAILED
Error:execution failed for task ': App:transformclasseswithdexfordebug '.

Com.android.build.api.transform.TransformException:com.android.ide.common.process.ProcessException: Java.util.concurrent.ExecutionException:com.android.ide.common.process.ProcessException: Org.gradle.process.internal.ExecException:Process ' command ' E:\SDK_JDK\jdk\bin\java.exe "finished with Non-zero exit Value 2
Information:build FAILED
Information:total time:48.031 secs
Information:2 errors
information:0 warnings
Information:see Complete output in console

cause of the problem:

1. Quoted GitHub open source project, module conflict between the jar (mainly V4 v7 package conflict version is different)

2. Similar error, may be mainfist configuration of activity, services and other information has been repeatedly added

There is an error in the XML under 3.res, and the copied layout refers to its custom layout. or a referenced picture

workaround for this type of problem:

1. Deleting a conflicting reference

2. The most problem-solving solution is clean project

3. Check the XML file individually

4. The referenced Lib needs only to change one of the two conflicts compile to provided.
For specific operations, go to
http://blog.csdn.net/hyr83960944/article/details/41825087

Android about:: App:clean:app:preBuild up-to-date:app:predebugbuild up-to-date, referencing jar conflict issues

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.