Error:Execution failed for task ':app:processDebugManifest'.
再AS的右下角有一个Gradle Console,里面有具体的error信息;
本文介绍了一种解决Android应用开发中出现的'processDebugManifest'任务执行失败的方法。通过在Gradle配置文件中添加特定的依赖解析策略来解决由com.android.support库引发的问题。
|
Error:Execution failed for task ':app:processDebugManifest'. 再AS的右下角有一个Gradle Console,里面有具体的error信息; |
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.example.administrator.hlfconnect"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
configurations.all { resolutionStrategy.eachDependency { DependencyResolveDetails details -> def requested = details.requested if (requested.group == 'com.android.support') { if (!requested.name.startsWith("multidex")) { details.useVersion '25.3.0' } } } }
就ok了
有问题上stackoverflow找你遇到的问题,如果是火狐或chrome浏览器安个划词翻译插件,英文就能看懂了
4121
416
125
5913
3万+
2504
4205
461

被折叠的 条评论
为什么被折叠?