与R.layout的android studio错误

时间:2022-04-14 00:24:20

So recently I updated the plugins for android studio and my previously working app has errors in it, before there was no problem when there was R.layout but now there is. is there an easy fix for this? The image is a picture of my code with the issues and my directory.

所以最近我更新了android studio的插件,我以前工作的应用程序中有错误,之前没有问题,当有R.layout但现在有。有一个简单的解决方案吗?图像是我的代码的图片,包含问题和我的目录。

1 个解决方案

#1


0  

You can clean-rebuild

你可以清理重建

OR

Step 1: Delete '.AndroidStudio2.2' from "C:\Users\Your_PC_Account\"

第1步:从“C:\ Users \ Your_PC_Account \”中删除“.AndroidStudio2.2”

Step 2: Start Android studio again.(If Android studio Downloading package don't stop it.)

第2步:再次启动Android工作室。(如果Android studio下载包没有停止它。)

Step 3: Create a new project.(Waiting for prepare new project)

第3步:创建一个新项目。(等待准备新项目)

#1


0  

You can clean-rebuild

你可以清理重建

OR

Step 1: Delete '.AndroidStudio2.2' from "C:\Users\Your_PC_Account\"

第1步:从“C:\ Users \ Your_PC_Account \”中删除“.AndroidStudio2.2”

Step 2: Start Android studio again.(If Android studio Downloading package don't stop it.)

第2步:再次启动Android工作室。(如果Android studio下载包没有停止它。)

Step 3: Create a new project.(Waiting for prepare new project)

第3步:创建一个新项目。(等待准备新项目)