[Solved] Solve Compile error in Android Studio?


In this case you are doing Wrong-:

<TextView
     android:id="@+id/scoreLabel"
     android:layout_width="match_parent"
     android:layout_height="50dp"
     android:gravity="center_vertical"
     android:paddingLeft="50dp"
     android:text="Score : 300"
     android:textSize="18sp" />

We have only android:paddingLeft="50dp" in android not something like
android:paddingleft="10dp" remove this it will compile then.

solved Solve Compile error in Android Studio?