错误:未找到属性资源标识符“layout_alignStart” [英] error: No resource identifier found for attribute 'layout_alignStart'
问题描述
我真的不知道这背后的原因。
在code的此块。
I really don't know the reason behind this. In this block of code.
<ProgressBar
android:id="@+id/progressBar"
style="@android:style/Widget.Pbar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignStart="@id/imgFrame"
android:layout_gravity="center_vertical"
android:layout_marginTop="15dp"
android:indeterminate="true" />
错误始终是这一部分。它指出,错误:没有资源标识符找到
属性layout_alignStart。
在包'机器人'
The error is always on this part. It states that error: No resource identifier found
for attribute 'layout_alignStart' in package 'android'
.
此错误有时会消失,但随后再次出现。
这是一个大问题,因为我无法生成 R.java
,因为资源上这部分误差
。所以我试图评论它是能够产生 R.java
。然后,当我尝试运行应用程序,它会花费太多的时间,然后会提示出错。
这个项目是我从进口现有的源/添加新项目,现有的来源。
This error sometimes disappear but then again appears.
This was a big problem because i can't generate R.java
because of the error on this part in res
. So i tried commenting it out to be able to generate R.java
. And then when i try to run the application, it will take too much time and then prompts an error encountered.
This project is an existing source which I imported/ added new project from existing source.
推荐答案
刚剪线layout_alignStart =错误会消失。
just cut the line layout_alignStart="" the error will gone
这篇关于错误:未找到属性资源标识符“layout_alignStart”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!