got "java.util.zip.ZipException: duplicate entry: com/.copyarea.db" error when build

by Makson Lee » Fri, 14 Jan 2011 21:18:46 GMT


Sponsored Links
 Hi All,

for some reason we use IBM Rational ClearCase as our version control
tool, and it put a system file named ".copyarea.db" into each
directory of Android codebase, could someone tell me how to make
Android build system to ingore this file to avoid the following build
error?

target thumb C: dsprofile_get_3gpp_profiles <= vendor/qcom/proprietary/
data/tests/ds_profile/src/dsprofile_get_3gpp_profiles.c
target thumb C: libdsprofile <= vendor/qcom/proprietary/data/
ds_profile/src/ds_profile.c
target thumb C: libdsprofile <= vendor/qcom/proprietary/data/
ds_profile/src/ds_profile_3gpp2.c
target thumb C: libdsprofile <= vendor/qcom/proprietary/data/
ds_profile/src/ds_profile_3gpp2_qmi.c
target thumb C: libdsprofile <= vendor/qcom/proprietary/data/
ds_profile/src/ds_profile_3gpp.c
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
java.util.zip.ZipException: duplicate entry: com/.copyarea.db
        at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:
163)
        at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:
90)
        at sun.tools.jar.Main.addFile(Main.java:608)
        at sun.tools.jar.Main.create(Main.java:412)
        at sun.tools.jar.Main.run(Main.java:142)
        at sun.tools.jar.Main.main(Main.java:903)
make: *** [out/host/common/obj/JAVA_LIBRARIES/emmalib_intermediates/
javalib.jar] Error 1
make: *** Deleting file `out/host/common/obj/JAVA_LIBRARIES/
emmalib_intermediates/javalib.jar'
make: *** Waiting for unfinished jobs....

-- 



Other Threads

1. USB Network Card

Hi,

   Last week, I bought Acer Iconia. I will work in some area. There are no
wifi. I need to use Ethernet and found there are some USB Network Card in
eBay. Does anyone try that?

-- 
Regards,
Michael Leung
http://www.itblogs.info
http://www.michaelleung.info

-- 
.

2. KERNEL 3.3 WTA: Saran untuk Custom Rom untuk Gingerbread

Om. di instruksi manual itu ada link untuk root  kernel 3.3 apakah itu juga
perlu di upgrade.
Kemarin saya sudah upgrade os ke 2.3 trus overcome rom 2 (apakah ini sudah
include update kernel)
Bedanyaa ROM dgn kernel apaan sih?
Mohon penjelasannya agak tidak salah melangkah
Terima kasih
On May 17, 2011 11:05 AM, "Adinda Erisyanita" <sparkling.cyani...@gmail.com>




Galaxy

-- 
"

3. ListView method posting NullPointerException error

4. Help needed. Class not found expectation.

5. Resume app after HOME -- what is supposed to happen?

6. Linux tahun 1990 an dan bisnis cari uang dari Iklan was WTI: Analis: 2013 Windows Phone Kalahkan Android

7. CheckBox text behind box in GridView