Error:Execution failed for task ':app:processDebugResources'.
原因:build 文件 版本 不一致
由于com.android.support:appcompat-v7:xxx的版本buildToolsVersion版本、compileSdkVersion不同
解决:将xxx的版本改为与buildToolsVersion版本、compileSdkVersion一致即可
代码:
compileSdkVersion = 27
buildToolsVersion = '27.0.3'
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibraryVersion}"