一段时间没有使用Android Studio,这期间将一个项目移动了位置。当再次用Android Studio打开该项目时,XML文件有部分都是红色,如下提示:
1. Couldn't resolve resource @color/Alert Exception raised during rendering: Color value '@color/Alert' must start with #
2.
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/CustomLight" >
icon、lable、theme三项引号内容都是红色,提示内容是Cannot resolve symbol '@style/CustomLight' 之类的。
其他文件没有错误,编译也没有问题,XML文件之前都是好好的,没有任何错误啊,这是怎么回事?请指教。