How do I configure ant on Android to include an external jar without exporting it in the apk? -


i have application uses shared jar library located on platform. build project off platform. so, need include jar file in compilation.

this works in eclipse - add library project, , works fine. encounter problem after building ant. ant requires include jar file in libs directory. if include there, exported apk. when deploy locally built apk device, runtime errors complaining multiple symbol definitions.

try add custom_rules.xml file project exclude jar after compilation apk. see here exclude dependency jar file apk when using ant android


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -