build.gradle:
Android build.gradle shows following error
ERROR: Parse
I got the same error, and the wrong character was found in the [row, col] position of the AndroidManifest.xml, not build.gradle
I got the same error similar one like
Message: expected start or end tag
Affected Modules: app
[row, cal] 17,17
I forget an unnecessary />
characters in Manifest. Try to clean it any one has it.
also had the same error. just look at the location [row] at the Manifest file and fix the problem (I had extra ">")
I got this same error, and finally I found that there is error in Mainfest.xml file
<service
android:name=".onboarding.httpserver.HttpService"
android:exported="false"
>
</service>>
you see, there are two >> after /service. which is wrong. After I fix this error, this message is disappear
I got a Commented line in manifest file, when i removed the commented line and build the gradle file then the error is solved.
check any unwanted characters that are added in the manifest file by mistake. After removing those characters/lines the problem was solved in my working application. check once and happy coding