gou*_*yal 5 android android-library android-gradle-plugin
我无法分发单个库。
我有一个Main库,它正在使用Base库。现在我只需要分发将在应用程序项目中使用的单个主库。
要在应用程序项目中使用Main库,gradle 也要求添加Base库作为依赖项。
这会有帮助吗?
1)
I think Main library should have base library in it. So when I look at the sizes:
Base library : 5 MB
Main library : 500 kb
Run Code Online (Sandbox Code Playgroud)
要使用单个库,我认为主库的大小应该是 5.5 MB。
2)
或者在应用程序项目中使用主库是否存在任何代码问题?通过它,不需要添加 Base 库作为依赖项。
再次解释:
当前情况 -
Application project
:
:
(depends):----> Main Library
:
:
-----> Base Library
Run Code Online (Sandbox Code Playgroud)
它应该在哪里——
Application project
:
: (internally depends upon)
(depends):---------> Main Library ------------> Base Library
Run Code Online (Sandbox Code Playgroud)