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

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -