首页 > 其他分享 >AndroidStudio中提示:uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in libr

AndroidStudio中提示:uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in libr

时间:2023-03-23 11:07:07浏览次数:52  
标签:declared smaller 16 19 library version minSdkVersion


场景

在Android Studio中的app下引用了一个外部library,运行时提示:

uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library

 

AndroidStudio中提示:uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in libr_程序猿

关注公众号
霸道的程序猿
获取编程相关电子书、教程推送与免费下载。

实现

打开app下build.gradle中设置的minSdkVersion为16

 

AndroidStudio中提示:uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in libr_公众号_02

但是在引入的library中的build.gradle中的minSdkVersion为19。

将这两个改为一致并点击Sync Now 即可。

标签:declared,smaller,16,19,library,version,minSdkVersion
From: https://blog.51cto.com/BADAOLIUMANGQZ/6144495

相关文章