sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Switch from empty AndroidManifest to namespace

Open romtsn opened this issue 3 years ago • 1 comments

Description

AGP will not allow using package attribute on an empty AndroidManifest starting from version 8.0 (we use it a lot, since we publish android libraries without UI). We should specify a namespace attribute in the android { } Gradle DSL instead.

Some automation script on how to do it: https://twitter.com/JakeWharton/status/1540075477108490246?s=20&t=VN5FPQPh_Nf87VXw6038ng

This will also avoid the manifest merging task altogether

romtsn avatar Jun 24 '22 06:06 romtsn

@romtsn, can you maybe add the most important info for this issue here and mention the link as a resource? The tweet could disappear and then the info is lost.

philipphofmann avatar Jun 27 '22 09:06 philipphofmann

merged into master

stefanosiano avatar Sep 29 '22 11:09 stefanosiano