码迷,mamicode.com
首页 > 其他好文 > 详细

Manifest merger failed : uses-sdk:minSdkVersion 9 cannot be smaller than version 10 declared in library

时间:2016-01-11 20:06:34      阅读:199      评论:0      收藏:0      [点我收藏+]

标签:

Error:Execution failed for task ‘:app:processDebugManifest‘.
> Manifest merger failed : uses-sdk:minSdkVersion 9 cannot be smaller than version 10 declared in library [org.piwik.sdk:piwik-sdk:0.0.3] /Users/weichunsheng/Documents/android_app/app/build/intermediates/exploded-aar/org.piwik.sdk/piwik-sdk/0.0.3/AndroidManifest.xml
  	Suggestion: use tools:overrideLibrary="org.piwik.sdk" to force usage

  

错误如上:

解决方案如下:

第一:修改自己兼容的最低版本minSdkVersion为10即可解决

第二:使用官方给出的解决方案,其实报错提示已经给出了答案。

技术分享

在清单文件配置一下即可。

技术分享

 

好的,完美结局。

from:http://tools.android.com/tech-docs/new-build-system/user-guide/manifest-merger?utm_campaign=adp_series_sdkversion_010616&utm_source=medium&utm_medium=blog#TOC-tools:overrideLibrary-marker

Manifest merger failed : uses-sdk:minSdkVersion 9 cannot be smaller than version 10 declared in library

标签:

原文地址:http://www.cnblogs.com/spring87/p/5122135.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!