This message was deleted.
# android
s
This message was deleted.
e
Found out the root cause from AGP source code, all NonIncrementalTask will delete outputs before the main TaskAction.
s
There is a documentation how to affect merged manifest: https://developer.android.com/studio/build/extend-agp#access-modify-artifacts There are also a few examples in https://github.com/android/gradle-recipes Make sure to pick branch that corresponds to your AGP version. For example, manifest replacement or manifest transformer.
👍 1