uses-sdk:minSdkVersion 17 cannot be smaller than version 21 declared in library

错误原因是你的项目主工程和该Library的Version冲突、不兼容

按照上面的错误提示,解决方式有两种:

1、修改Library的Version为它指定的, minSdkVersion="21"

2、修改该Library的Manifest:


    

 

注 overrideLibrary有多个的话,使用逗号","隔开;

可参考:https://stackoverflow.com/questions/37293082/uses-sdkminsdkversion-15-cannot-be-smaller-than-version-16-declared-in-library

你可能感兴趣的:(Android)