ModularizationProject
ModularizationProject copied to clipboard
怎么运行单个模块呢?运行某个activity 的时候会需要选择一个module,只有app 可以选
怎么运行单个模块呢?运行某个activity 的时候会需要选择一个module,只有app 可以选
直接修改isBuildModule=false 为true,注释掉对应Activity中注解代码,不然会报空指针
`Error:Execution failed for task ':NewHouseModule:processDebugManifest'.
Manifest merger failed : Attribute application@label value=(@string/new_house_app_name) from AndroidManifest.xml:8:9-51 is also present at [com.github.BaronZ88:Retrofit2-FastJson-Converter:1.2] AndroidManifest.xml:13:9-41 value=(@string/app_name). Suggestion: add 'tools:replace="android:label"' to
element at AndroidManifest.xml:5:5-20:19 to override.`
manifest 资源合并冲突
最后注释掉分module 的 @label 该行,能执行正常