R.raw.anything cannot be resolved [duplicate]

最后都变了- 提交于 2019-11-27 04:36:38

I already faced this problem several weeks ago. You simply have to use com.example.R (where com.example is the name of your package), because Eclipse thinks that you are using android.R by default. Try this out.

necixy

Try to clean and rebuild your project!

Or just delete import android.R;.

If that data.xml is in raw folder but still its not resolved once Clean and build your project and check.

Still error check this : Opening raw file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!