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" />
The error is always on this part. It states that error: No resource identifier found
for attribute 'layout_alignStart' in package 'android'
.
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.