1761

Issue when using manifestmerger in release mode

In the last Android SDK Tools, you can merge AndroidManifest from librairies using the manifestmerger.enabled property :

Build System Added automatic merging of library project manifest files into the including project's manifest. Enable this feature with the manifestmerger.enabled property.

It works great...but only in debug mode ! Indeed, when i release my app in Eclipse using 'right click on projet' > 'Export...' > 'Export Android Application', the generated AndroidManifest.xml contained in apk doesn't contain elements from my library. Any idea ? Do I have to use an Ant script to release my app and make the merging feature working ?

Answer1:

Try using the latest Android SDK and ADT plugin. The problem you mentioned is already solved according to the following post:

android - using the new “manifestmerger” property

They could be found here:

Android SDK (Click "DOWNLOAD FOR OTHER PLATFORMS")

ADT Plugin

Recommend

  • EditText is covered by Keyboard
  • ConnectivityManager.CONNECTIVITY_ACTION deprecated
  • C# Excel interop - how to test if interop object is still working and performing a task?
  • Does Apportable support to build library binary (.a/.so)?
  • Why does java tzupdater add leap seconds?
  • Getting media player state in windows phone 7
  • Azure table store snapshot/backup capability
  • Suppressing passwd when calling sqlplus from shell script
  • How to disable all widgets inside Panel or inside Composite?
  • Security issues with PHP's Readfile method
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • Installed module is empty
  • How do I get HTML corresponding to current DOM tree?
  • chrome.tabs.executeScript only fires when the Developer Console is open
  • Abort upload large uploads after reading headers
  • Combining SpatialPolygonsDataFrame of two neighbour countries
  • Chrome doesn't support silverlight anymore? How to solve this?
  • Switching to Release Build causes runtime error in Web Reference
  • jQuery .attr() and value
  • java.lang.NoClassDefFoundError: com.parse.Parse$Configuration$Builder on below Lollipop versions
  • Is calc() supported in html email?
  • What is Eclipse's Declaration View used for?
  • req.body is undefined - nodejs
  • Azure Cloud Service Web Role web pages do not load
  • Does CUDA 5 support STL or THRUST inside the device code?
  • Trying to switch camera back to front but getting exception
  • Symfony2: How to get request parameter
  • How to show dropdown in excel using jrxml (jasper api)?
  • Why winpcap requires both .lib and .dll to run?
  • QuartzCore.framework for Mono Develop
  • Akka Routing: Reply's send to router ends up as dead letters
  • jqPlot EnhancedLegendRenderer plugin does not toggle series for Pie charts
  • How do I rollback to a specific git commit
  • Is there a mandatory requirement to switch app.yaml?
  • Revoking OAuth Access Token Results in 404 Not Found
  • -fvisibility=hidden not passed by compiler for Debug builds
  • how does django model after text[] in postgresql [duplicate]
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Busy indicator not showing up in wpf window [duplicate]
  • reshape alternating columns in less time and using less memory