1

I am new to Android programming and running on version 3.6.3. I am having a Build failed: error 1; XML document must start and end with the same entity.

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="androidx.constraintlayout.widget"> //This one is errorTagged with "Element manifest must be declaired."

    <uses-sdk android:minSdkVersion="9" //This one is tagged with "Tag start is not closed" but when I close it with '/>', it changes to 'Unexpected ending.'```
Klem Lloyd Mwenya
  • 388
  • 1
  • 6
  • 17

1 Answers1

2
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
    <color name="colorPrimary">#008577</color>
    <color name="colorPrimaryDark">#ff0000</color>
    <color name="colorAccent">#00ff00</color>
    <color name="mtrl_textinput_default_box_stroke_color" tools:override="true">#000</color>
</resources>
MMG
  • 3,226
  • 5
  • 16
  • 43