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. Android handset quality

I've had my HTC G1 for about 1 year now.  I continue to use it as a
secondary phone, my main handset being a 5 year old Nokia 6680.

The Nokia has been stable, reliable (even more reliable than a newer
E65, I had three of those fail before giving away the fourth
replacement) and offers excellent voice quality on handset or speaker
mode, and several days battery life on regular GSM (2G) mode.

I realise that I probably have to make a sacrifice of some battery
life in order to benefit from smartphone features, email everywhere,
etc.  But I don't want to sacrifice voice quality.

Reviews of the hottest Android phones, e.g. the Motorola Droid/
Milestone and the Sony Ericsson X10 focus on all the features, making
some comment on battery life.  But how do those phones compare for
basic call quality?

My G1 also has intermittent issues with the incoming call alert: it is
not as loud as the 6680 and I often miss calls.  Sometimes, there is
no sound at all, and the screen doesn't even light up, but I miss
calls.  I never have these issues with the Nokia phone.  Is this a
common experience with the G1 and do the newer handsets definitely
improve on that?

-- 

2. Activity Exit Animation

I've been using overridePendingTransition to animate Dialog Themed
activities' on creation... I would like to use animations when those
dialogs exit (as in back pressed or work finished).

According to the documentation overridePendingTransition can work when
finish() is called, but I've tried overriding it and it doesn't work.
Any thoughts on what I'm missing?

-- 

3. How to properly implement ParcelFileDescriptor.openFile() method.

4. Please help!! I want to port some part of dalvik VM on DSP to make it fast. please help.

5. Unable to compile a fully working AOSP android for Hero

6. How to properly implement ParcelFileDescriptor.openFile() method.

7. How to properly implement ParcelFileDescriptor.openFile() method.