After I updated my eclipse and Android SDK I encounter some problem while pasting a file to the drawable. Actually I am trying to replace a new image in the same name. After I restart the eclipse the error went of. What is the reason and how can I avoid it. Please guide me.
**Log:**
Error: name expected logo.png /Sample/res/drawable-large line 4 Android AAPT Problem
I'm seeing the same sort of thing. It appears to be a bug in the latest release, and it's not limited to image files. I'm having similar problems with raw resources--the AAPT tries to parse anything that's pasted into the res
folder as XML.
Rather than restarting Eclipse, you can also clear the errors by cleaning the project.
EDIT This was evidently fixed in more recent releases of the tools. If you are still experiencing the problem, make sure you have the latest updates of everything.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With