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