2012-03-22 19 views
13

यह कोई प्रश्न नहीं है क्योंकि मुझे पहले से ही का जवाब मिला है।एसडीके 17 एंड्रॉइड सख्त निर्भरता जांच एसडीके 17

नया एंड्रॉइड एसडीके 17 जार फ़ाइलों पर एक कठोर निर्भरता जांच है।

उसी समय, उन्होंने एक जार जोड़ा जो मुझे लगता है कि पहले नहीं था। मेरी परियोजना को एसडीके में नए annotations.jar और एक जो मैंने पहले ही उपयोग किया है, के बीच एक संघर्ष का सामना करना पड़ा। एक दूसरे के द्वारा प्रतिस्थापित करना काम करेगा, अगर उनके पास एक ही उत्पत्ति है।

मेरी एनोटेशन.जर एक गुइस निर्भरता के माध्यम से जेटब्रेन से है, इसलिए इसे बदलना काम नहीं करता है। यह त्रुटि मुझे मिली:

[2012-03-22 10:54:27 - MyApp] Jar mismatch! Fix your dependencies 
[2012-03-22 10:54:46 - MyApp] Found 2 versions of annotations.jar in the dependency list, 
[2012-03-22 10:54:46 - MyApp] but not all the versions are identical (check is based on SHA-1 only at this time). 
[2012-03-22 10:54:46 - MyApp] All versions of the libraries must be the same at this time. 
[2012-03-22 10:54:46 - MyApp] Versions found are: 
[2012-03-22 10:54:46 - MyApp] Path: /opt/android-sdk-linux_x86/tools/support/annotations.jar 
[2012-03-22 10:54:46 - MyApp] Length: 1463 
[2012-03-22 10:54:46 - MyApp] SHA-1: 6f59fa3a223df6f332bee8b8bffb526f7445018b 
[2012-03-22 10:54:46 - MyApp] Path: /home/christine/workspace/MyApp/libs/annotations.jar 
[2012-03-22 10:54:46 - MyApp] Length: 7593 
[2012-03-22 10:54:46 - MyApp] SHA-1: e28fe9e70610beb9ef49226a9e56fed7a86e742a 
[2012-03-22 10:54:46 - MyApp] Jar mismatch! Fix your dependencies
+0

http://groups.google.com/group/actionbarsherlock/browse_thread/thread/b00f96062f61ea9e – Vivek

+0

यह वही समस्या नहीं है ... – Christine

+0

@ क्रिस्टीन है आपने इसे हल किया है? –

उत्तर

2

मेरी एनोटेशन.जर एक गुइस निर्भरता के माध्यम से जेटब्रेन से है। मैंने इस फ़ाइल का नाम बदलकर जेटब्रेन-एनोटेशन.जर किया जिसने मेरी समस्या हल की।

संबंधित मुद्दे