0

I am having shrinkResources true enabled in my Android project. When I am running the app is release mode, its throwing the below error.

ParseError at [row,col]:[1,1] Message: Content is not allowed in prolog.

I am able to suppress the issue temporarily by adding enableNewResourceShrinker=false in gradle.properties.

But I need to find exact file , which is causing the issue.

I couldn't able to find any typo or additional characters or additional line after the xml header, in any xml files.

Is there any way to find out which file is causing this resource shrinking build issue?

Gowtham K K
  • 3,123
  • 1
  • 11
  • 29

0 Answers0