Error when using android in eclipse

-1

I'm starting to learn how to program with android and right away I came across this error, what to do?

Displays this error in the console:

[2016-03-25 18:09:34 - TransicaoEntreTelas] Found 2 versions of android-support-v4.jar in the dependency list,

[2016-03-25 18:09:34 - TransicaoEntreTelas] but not all the versions are identical (check is based on SHA-1 only at this time).

[2016-03-25 18:09:34 - TransicaoEntreTelas] All versions of the libraries must be the same at this time.

[2016-03-25 18:09:34 - TransicaoEntreTelas] Versions found are:

[2016-03-25 18:09:34 - TransicaoEntreTelas] Path: C:\Users\Guilherme\Documents\EclipseProjects\appcompat_v7\libs\android-support-v4.jar

[2016-03-25 18:09:34 - TransicaoEntreTelas]     Length: 1074044

[2016-03-25 18:09:34 - TransicaoEntreTelas]     SHA-1: 33b27a8d2a5b87e6eb6c60e87a5374ffbfeacc3a

[2016-03-25 18:09:34 - TransicaoEntreTelas] Path: C:\Users\Guilherme\Documents\EclipseProjects\TransicaoEntreTelas\libs\android-support-v4.jar

[2016-03-25 18:09:34 - TransicaoEntreTelas]     Length: 1422188

[2016-03-25 18:09:34 - TransicaoEntreTelas]     SHA-1: 1dc1f63cee098b27db60b9a2833fd7ca58f89636

[2016-03-25 18:09:34 - TransicaoEntreTelas] Jar mismatch! Fix your dependencies

[2016-03-25 18:09:34 - TransicaoEntreTelas] Found 2 versions of android-support-v4.jar in the dependency list,

[2016-03-25 18:09:34 - TransicaoEntreTelas] but not all the versions are identical (check is based on SHA-1 only at this time).

[2016-03-25 18:09:34 - TransicaoEntreTelas] All versions of the libraries must be the same at this time.

[2016-03-25 18:09:34 - TransicaoEntreTelas] Versions found are:

[2016-03-25 18:09:34 - TransicaoEntreTelas] Path: C:\Users\Guilherme\Documents\EclipseProjects\appcompat_v7\libs\android-support-v4.jar

[2016-03-25 18:09:34 - TransicaoEntreTelas]     Length: 1074044

[2016-03-25 18:09:34 - TransicaoEntreTelas]     SHA-1: 33b27a8d2a5b87e6eb6c60e87a5374ffbfeacc3a

[2016-03-25 18:09:34 - TransicaoEntreTelas] Path: C:\Users\Guilherme\Documents\EclipseProjects\TransicaoEntreTelas\libs\android-support-v4.jar

[2016-03-25 18:09:34 - TransicaoEntreTelas]     Length: 1422188

[2016-03-25 18:09:34 - TransicaoEntreTelas]     SHA-1: 1dc1f63cee098b27db60b9a2833fd7ca58f89636

[2016-03-25 18:09:34 - TransicaoEntreTelas] Jar mismatch! Fix your dependencies

[2016-03-25 18:09:35 - TransicaoEntreTelas] Found 2 versions of android-support-v4.jar in the dependency list,

[2016-03-25 18:09:35 - TransicaoEntreTelas] but not all the versions are identical (check is based on SHA-1 only at this time).

[2016-03-25 18:09:35 - TransicaoEntreTelas] All versions of the libraries must be the same at this time.

[2016-03-25 18:09:35 - TransicaoEntreTelas] Versions found are:

[2016-03-25 18:09:35 - TransicaoEntreTelas] Path: C:\Users\Guilherme\Documents\EclipseProjects\appcompat_v7\libs\android-support-v4.jar

[2016-03-25 18:09:35 - TransicaoEntreTelas]     Length: 1074044

[2016-03-25 18:09:35 - TransicaoEntreTelas]     SHA-1: 33b27a8d2a5b87e6eb6c60e87a5374ffbfeacc3a

[2016-03-25 18:09:35 - TransicaoEntreTelas] Path: C:\Users\Guilherme\Documents\EclipseProjects\TransicaoEntreTelas\libs\android-support-v4.jar

[2016-03-25 18:09:35 - TransicaoEntreTelas]     Length: 1422188

[2016-03-25 18:09:35 - TransicaoEntreTelas]     SHA-1: 1dc1f63cee098b27db60b9a2833fd7ca58f89636

[2016-03-25 18:09:35 - TransicaoEntreTelas] Jar mismatch! Fix your dependencies

Here is the image of the error below:

    
asked by anonymous 25.03.2016 / 21:13

1 answer

0

As Caique Oliveira mentioned, if these to start with Android uses Android Studio. Because it has been supported by Google since last year, and incorporates the Gradle system to compile and manage your projects and libs.

What I think is that you have two projects in Eclipse both with the same lib (android-support-v4.jar) and are conflicting with each other.

Simple Fix: Removes one of the libs that should work. Fix better: install android studio and gradle and you will no longer have these problems:)

Happy coding: D

    
26.03.2016 / 11:49