Android 2.2+ SDK - properties file in / config does not override the file in .jar

I had this problem with log properties files before, but I was able to reassemble the jar (it was my own library). Now I have a .jar, in which the setup.properties file is associated with it (and is needed by default), and in a regular java project I can put setup.properties in / config and override the included one. However, with Android, I get an error:

[2011-03-10 14:39:35 - MyAndroid] Error generating final archive: Found duplicate file for APK: setup.properties
Origin 1: /Users/me/Desktop/svn/ANDROID/MyAndroid/MyAndroid/config/setup.properties
Origin 2: /Users/me/Desktop/svn/ANDROID/MyAndroid/MyAndroid/lib/generic-library.jar

How do I configure this?

+3
source share

All Articles