Android学习,最开始运行项目的时候没有问题的,后来就一直出现这个毛病,R文件也找不到,求指导

之前安装过Android Studio,最近因为实验要求,把之前的卸了,又重新装了一个低版本的

运行项目时,第一次运行没有什么问题的,后来再次打开运行第二遍就一直这样报错了,而且R文件也找不到,一直显示Cannot resolve symbol‘R’,网上一直找解决办法也没有找到,求指导┭┮﹏┭┮

问题相关代码,请勿粘贴截图

Error:(17) No resource identifier found for attribute 'lineHeight' in package 'android'
Error:(17) No resource identifier found for attribute 'lineHeight' in package 'android'
Error:Execution failed for task ':app:processDebugResources'.

com.android.ide.common.process.ProcessException: Failed to execute aapt

img

img

重新build
还有,你是gradle同步是不是成功了?