Android build apk: control MANIFEST.MF
问题 Android build apk: Suppose an apk contains a library jar(e.g. foo.jar) that has META-INF/MANIFEST.MF, which is important for it to function. But in APK there is a MANIFEST.MF that contains signing data, and the lib jar MANIFEST.MF is lost. APK META-INF/MANIFEST.MF Is there a way to add more attributes to the MANIFEST.MF or merge lib jar MANIFEST.MF into it? UPDATE After unpacking apk, adding some attributes to MANIFEST.MF and repacking apk, packageDebug { doLast { // add attributes to