Open carlonzo opened 1 year ago
I found a few problems with this issue:
是的,我也注意到androidx.privacysandbox.ads:ads-adservices:1.0.0-beta05这个库,这个库的AndroidManifest中声明了 <uses-library android:name="android.ext.adservices" android:required="false"/> 但是在ROM打包时会强制校验user-library,如果system的AndroidManifest中没有这个user-library,而应用的AndroidManifest中声明了,会导致ROM编译失败。
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
I've recently bumped the Firebase bom from 32.3.1 to 32.4.0 which updates firebase-analytics from 21.3.0 to 21.4.0.
Firebase-analytics now depends on
androidx.privacysandbox.ads
which depends on a bunch of new libraries which make my total dex increase by 1.2mb compressed (and 2.9mb uncompressed).Here is part of the new dependencies graph
The new update brings in the following dependencies I was not having before:
which, as said before brings a big increase in dex. Is this something that was meant to happen? I believe most of the increase comes from guava which is a fairly large dependency. any way we could opt-out from
androidx.privacysandbox.ads
dependency? (or theads-adservices-java
module)