我本来有一个大胆的想法,那就是把我的QQ机器人作为插件进行加载,qq机器人本身就是傀儡,就内容提供者进行逻辑的运行处理 。
那么有些ui界面只能作废,但是也只能被迫加载进去,那么组件化插件化之路就非常坎坷了,得分离操作界面和 内容提供者代码 ,于是才有了下面的问题,不过目前是没法解决了,只能该获取不能用compileOnly也就是必须打包进入apk了。
* What went wrong:
Execution failed for task ':childgit:app:preDebugBuild'.
> Android dependency 'com.android.support:design:27.1.0' is set to compileOnly/provided which is not supported* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.* Get more help at https://help.gradle.orgBUILD FAILED in 10s