Today, an Android Studio, ready to change the platform, but to create a new project encountered a problem, the internet did not find a complete solution, the study of the issue for your reference
Problem: Unable to find R file error error:execution failed for task ': App:processdebugresources '. > Com.android.ide.common.process.ProcessException:Failed to execute AAPT
Problem reason: Compilesdkversion is higher than buildtoolsversion, you can build a lower version of the SDK project with a higher version of Build-tool, but the reverse is not
WORKAROUND: 1. Update ANDROID-SDK Build-tools
2. Modify the corresponding version number in the Build.gradle
And then my problem is solved.
may not be a problem for many people, but since I met, it is possible to have friends will encounter the same problem, hoping to provide reference
Android Studio First Use problem resolution