问题:
Suggestion: use a compatible library with a minSdk of at most 21, or increase this project's minSdk version to at least 28, or use tools:overrideLibrary="com.xxxx.xxxx" to force usage (may lead to runtime failures)
原因:
因为你的项目导入的aar库.设置的最低版本. minSDKVersion 要比你的项目本身设置的minSDKVersion要高.
才会出现的问题.
例如: 这个库,最低库是14. 有些aar库可能打的太高了.
解决:
1.调整你的build.gradle文件里面的 minSdkVersion 版本.不能小于aar里面的
可以大于和等于.
2.找相关aar文件提供方.咨询能否打低点版本.
评论区