alibaba / atlas

A powerful Android Dynamic Component Framework.
Apache License 2.0
8.13k stars 1.47k forks source link

[use]: 关于已有gradle的配置问题 #266

Closed Yellow5A5 closed 6 years ago

Yellow5A5 commented 6 years ago

现有项目已经引入了DexKnifePlugin,这个插件需要对应配置配置

classpath 'com.android.tools.build:gradle:2.3.0'

打算试着将部分组件按Atlas接入,但Atlas不允许了外部配置gradle插件版本, 所以报了下面这个错误,请问这个有什么处理方法吗?

Gradle sync failed: Cause: please remove the google plugin `classpath 'com.android.tools.build:gradle:xxx'` in buildscript dependencies 
                it will be auto include by atlasplugin
                Consult IDE log for more details (Help | Show Log) (8s 351ms)
hwjump commented 6 years ago

atlas带了dex分包能力。不需要这个插件

Yellow5A5 commented 6 years ago

嗯好吧 包括Tinker那个点 我也都知道 因为想最小成本接入试运行 才有这样的疑问。