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

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

时间: 2024-10-10 02:00:15

Manifest merger failed : uses-sdk:minSdkVersion 9 cannot be smaller than version 10 declared in library的相关文章

Android Studio常见问题 -- uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library

问题描述 * What went wrong:Execution failed for task ':app:processDebugManifest'.> Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library D:\AndroidStudioProjects\StudioDemo\app\build\intermediates\exploded

uses-sdk:minSdkVersion 1 cannot be smaller than version 4 declared in library [com.android.support:sup

根据报错提示:最低兼容版本api 1低于v7兼容类库的api 7,找到app的gradle发现设置了最低兼容9,并不是1啊. android { ... defaultConfig { minSdkVersion 10 targetSdkVersion 19 } ... } 完美搞定 perfect

关于Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 16 declared in lib

日志有些长,标题显示不完,截图如下: 有图可以知道,是因为在引入的libary里面的build.gradle文件里面的minSdkVersion不一致导致这个问题出现的.修改一致即可.这个问题是在compileSdkVersion 版本改成25后出现的,之前的没有发现.看来google在这方面越来越严了,以后这方面的代码应该保持一致,不仅仅是minSdkVersion,还有targetSdkVersion之类的版本

Android -- uses-sdk:minSdkVersion 10 cannot be smaller than version L declared in library com.android.support:appcompat-v7:21.0.0-rc1

这是一个报错,是我在Android Studio上添加完Support-v4和v7包之后爆出的错误,百度了好久也没有百度到.当时我的项目有minSdkVersion 19. 设置版本最小为L的时候也会出错,并且我的测试机是4.3,根本就无法安装. defaultConfig { .... minSdkVersion 'L' .... } 解决办法 1.将compileSdkVersion设置成为 compileSdkVersion 'android-L' 这个解决方案只适用于L版本,如果尝试部署

android studio导入项目出错:Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple errors, see logs

android studio导入项目出错:Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple errors, see logs 解决方式:这个情况是有不同版本的 SDK 并不能合并,建议降低主程序target SDK版本. android studio导入项目出错:Error:Execution failed for task ':app:proce

解决Android Studio添加依赖时出现“Manifest merger failed

Manifest merger failed : uses-sdk:minSdkVersion 14 把module里的minSdkVersion改成与提示的错误一致就可以了.

Manifest merger failed : Attribute [email protected] value=(@string/app_name)

使用android studio开发过程中,新建了A.B两个工程,其中B是库工程,工程A引用库工程B,编译过程中出现:Manifest merger failed : Attribute [email protected] value=(@string/app_name),从log看,导致该错误的原因是工程A和工程B中的AndroidManifest.xml文件中都使用了app name,合并manifest的过程出现了问题. 根据studio的suggestion:在A工程中的AndroidM

解决『Manifest merger failed with multiple errors, see 』

Error:Execution failed for task ':app:processDebugManifest'.> Manifest merger failed with multiple errors, see logs 点这个就能看到详细的错误了

android开发里跳过的坑——android studio 错误Error:Execution failed for task ':processDebugManifest'. > Manifest merger failed with multiple errors, see logs

使用AS在gradle里配置了多个定制版本,发现在编译版本切换时,会出现错误: Error:Execution failed for task ':processDebugManifest'.> Manifest merger failed with multiple errors, see logsInformation:Gradle tasks [:app:generatePhoneWulianDebugSources, :app:mockableAndroidJar, :app:prepa