Android resource compilation failed (How to Fix)

there are many reasons for this problem on the Internet, I will not say more, the following is my more stupid solution, you can try;

when you see this problem, you might have a line of files that you can click on, and click on the error.

if there is no place to click, you can also find the specific place according to the directory and “line number”;

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

error:

, if you don’t know how to change it, you can go to baidu;

is basically the point where the problem is solved (if that’s the only place you’re wrong).

and I’m not done here, but you see, I have two wrong lines here.

let’s fix the wrong one and run it:

take a look, it was reported wrong, this time there is no reverse can click, and then jump to the reported wrong position;

but it doesn’t matter, there’s a table of contents and a corresponding line number, we can still find the error location. Then, using the above method, search for areas where the format is wrong, and change it to the correct one:

is modified, and it will run normally.

Read More: