Error:Cannot choose between the following configurations of project :ViewLib:
- debugApiElements
- debugRuntimeElements
- releaseApiElements
- releaseRuntimeElements
All of them match the consumer attributes:
- Configuration 'debugApiElements':
- Found com.android.build.api.attributes.BuildTypeAttr 'debug' but wasn't required....
我已将classpath ... gradle版本更新为3.0.1,将分发网址更新为4.0 .. gradle参考此链接 https://drive.google.com/open?id=10ZxsarUjeXi1SqS7njCZCLKM7yaoRyZ-eIHC3IghCkI