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. market posting negative installs

Have any Market publishers noticed negative active installs?

I published an application last night and currently my stats are:

415 total
-69 active installs (-16%)

Early this morning I saw 131 total with -132 active (-100%).

This makes no sense whatsoever.   Another app I'm involved with at
least has positive numbers for both stats and makes sense.   On that
one we have about 70% active rate.   Which I interpret to mean that
75% of the people who downloaded the app still have it loaded.
--~--~---------~--~----~------------~-------~--~----~

2. great idea

I'm a med student and 99% of med students use a program called
epocrates. They have this app for palm, blackberry, iphone, but not
the android platform. Please make this app available to the g1 and i
guarantee more people buying the g1. There's at least 10 people in my
class who are buying the iPhone over the g1 just for that 1 app.

--~--~---------~--~----~------------~-------~--~----~

3. How to build android

4. Add your application to Android Market for FREE!

5. How to Handle Delays/Waits

6. Unable to record using MediaRecorder

7. How to show the position in a MapView in SDK 1.