问题
No matter where I look in the res directory there is only main.xml and I am supposed to have res/anim/mainanim.xml but I don't have it.
My code is here: Frame-by-frame animations
I also keep getting in the java document, "id and anim cannot be resolved or is not a field" error. What am I doing wrong?
回答1:
Mia, to create the folder, go to where you saved the project on your computer and create the folder yourself and refresh Eclipse. Or in Eclipse, right click on the "res" folder, say new -> folder and name it "anim".
来源:https://stackoverflow.com/questions/3293972/android-i-dont-seem-to-have-the-anim-folder-or-the-mainanim-xml-document-w