牵着老婆满街逛

严以律己,宽以待人. 三思而后行.
GMail/GTalk: yanglinbo#google.com;
MSN/Email: tx7do#yahoo.com.cn;
QQ: 3 0 3 3 9 6 9 2 0 .

解决 Android Studio : minSdkVersion 8 cannot be smaller than version

转载自:http://blog.csdn.net/qw3752258/article/details/37829841

Android Studio 版本:0.8.2 beta

本文介绍了解决导入工程出现“cannot be smaller than version L ”的解决方法


报错:

  1. Error:Execution failed for task ':app:processDebugManifest'.  
  2. > Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version L declared in library .....  

解决:

很简单,这个是4.21的V4兼容库的问题,修改build.gradle :

[javascript] view plaincopy
  1. dependencies {  
  2.     compile 'com.android.support:support-v4:+'  
  3.     compile fileTree(dir:'ilbs',include:['*.jar'])  
  4. }  

  1. dependencies {  
  2.     compile 'com.android.support:support-v4:20.+'  
  3.     compile fileTree(dir:'ilbs',include:['*.jar'])  
  4. }  

现在总算明白了“+”的意思了吧

如果还没有解决,

估计是你的module文件夹里面有V4/V7/V13兼容库文件,同样修改版本号即可,并修改lib目录下的build.gradle为 v4.20.+

posted on 2015-11-01 23:31 杨粼波 阅读(418) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理