问题:找不到R文件 报错Error:Execution failed for task ':app:processDebugResources'. > com.android.ide.common

问题原因:compileSdkVersion高于buildToolsVersion,可以用高版本的build-tool去构建一个低版本的sdk工程,但是反过来就不行了

解决方法:1.更新Android-SDK Build-Tools

     2.修改build.gradle中相应版本号

     问题:找不到R文件 报错Error:Execution failed for task ':app:processDebugResources'. > com.android.ide.common

     问题:找不到R文件 报错Error:Execution failed for task ':app:processDebugResources'. > com.android.ide.common

    之后我的问题就解决了

可能对于很多人来说根本不是问题,但是既然我遇上了,也就有可能有朋友还会遇到相同问题,希望能提供参考