Resolution AAPT: error: resource drawable/ (aka xxx) not found

When an error occurs, do not suspect that the as is wrong! It’s just that there is an error in the newly compiled XML, not necessarily the file with the error prompt.

1. Execute file – & gt; Invalid cache/restart, recompile.

2. Check the latest XML file in the drawable folder for errors. Common errors are as follows:

I repeat

<?xml version=”1.0″ encoding=”utf-8″?& gt;
<?xml version=”1.0″ encoding=”utf-8″?& gt;

Read More: