You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
打印的结果不包含featur模块里的类,看boosterTransform里需要满足 parameter.plugins.hasPlugin("com.android.dynamic-feature")
但在app里应用插件不包含,而在dynamic模块使用booster插件则会报错
variant.getApplicationId() is not supported by dynamic-feature plugins as it cannot handle delayed setting of the application ID. Please use getApplicationIdTextResource() instead
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
请教大佬基于4.16.3如何扫描到dynamic-feature里的类。
demo使用https://github.com/android/codelab-android-dynamic-features/tree/master
目前在buildSrc里创建 代码如下
打印的结果不包含featur模块里的类,看boosterTransform里需要满足 parameter.plugins.hasPlugin("com.android.dynamic-feature")
但在app里应用插件不包含,而在dynamic模块使用booster插件则会报错
variant.getApplicationId() is not supported by dynamic-feature plugins as it cannot handle delayed setting of the application ID. Please use getApplicationIdTextResource() instead
agp版本为7.0.4
命令./gradlew clean :app:bundleRelease
Beta Was this translation helpful? Give feedback.
All reactions