繁体   English   中英

LocationAwareException:任务':app:processDebugManifest'的执行失败

[英]LocationAwareException: Execution failed for task ':app:processDebugManifest'

我已经将gradle更新到最新版本,现在出现此错误。 org.gradle.internal.exceptions.LocationAwareException: Execution failed for task ':app:processDebugManifest'.

我还看到了其他有关此问题,但没有帮助。 我尝试删除所有依赖项,但显示相同的错误,所以这不是兼容性问题吗?

我的gradle文件

这是完整的错误: 链接

我不确定您使用的是哪个版本的API。

解决方案1:文件=>使缓存无效/重新启动

解决方案2:使用相同的targetSdkVersion,最小和最大sdk版本检查AndroidManifest.xml和build.gradle。

解决方案3:检查build.gradle文件中的依赖项。 然后逐一注释并同步。 例如:

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:support-v4:28.0.0'
testImplementation 'junit:junit:4.12'
//androidTestImplementation 'com.android.support.test:runner:1.0.2'
//androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM