Issue
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.'```
Solution
<?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>
Answered By - MMG
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.