Android Studio's compiler prompt \ app \ src \ main \ res \ values \ colors.xml: 1: 1 Error: Introduction of the content is not allowed

1 issue

Android Studio project to run the newly created somehow an error as follows

app\src\main\res\values\colors.xml:1:1 Error:前言有不允许的内容

Then I put the following colors.xml res directory file open look as follows

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="default_*****" translatable="false">*********</string>
    <string n

Really Japanese dog, then create a new project as well.

 

 

 

 

 

2 solution

Close as, delete .Android Studio configuration file, then you can restart.

Released 1075 original articles · won praise 680 · Views 3.02 million +

Guess you like

Origin blog.csdn.net/u011068702/article/details/105058668