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


場景

在Android Studio中的app下引用了一個外部library,運行時提示:

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

 

 

博客:
https://blog.csdn.net/badao_liumang_qizhi
關注公眾號
霸道的程序猿
獲取編程相關電子書、教程推送與免費下載。

實現

打開app下build.gradle中設置的minSdkVersion為16

 

 

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

將這兩個改為一致並點擊Sync Now 即可。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM