android application fails to compile search inside ResXMLTree_node size category error, and android studio project

I am very depressed, I encountered a very people crash problem:




ResXMLTree_node size 0 is smaller than header size 0x45. Like this error, suggesting that seen in the absence of any useful content, online search is also not much information difficult to locate where problems arise.

So first try AndroidManifest.xml this file to see whether there is an error which part, retained activity in a compilation or wrong, this document should not be a problem,

Restart the software, delete biuld folder. . . No effect, seems to determine which part of the code have a problem

Look at this prompt major talking node related errors xml resource configuration file, and then think of setting remove some string Before

Then search for the entire project, all relevant xml, java all open files and found removed before the string is still in use in your code, then finally replaced after a successful compilation error solved


Therefore, this type of error occurs, is very likely xml resource files inside the node error, either wrong, or is lost, get closer inspection, a very time-consuming


Incidentally option to search within the entire project under android studio somewhere, I started looking for a long

Right-click list, select Find in Path option on the project name, select the whole project to the panel inside










Reproduced in: https: //my.oschina.net/zhouz/blog/213150

Guess you like

Origin blog.csdn.net/weixin_33968104/article/details/91728392