Sunday, May 20, 2012

How to Fix Error "The processing instruction target matching ... "

When I imported the example Android application FragmentsBasics into Eclipse IDE, I got this error message: "The processing instruction target matching "[xX][mM][lL]" is not allowed."
Solution:
Open the AndroidManifest.xml and other XML files to move this line
<?xml version="1.0" encoding="utf-8"?>
to the top. The first line of XML file cannot be the comment line.

No comments:

Post a Comment

install dotnet on Mac

https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-8.0.411-macos-arm64-installer Checksum (SHA512) 806889dd230d89e7ff0718a0be0...