Android: How to add R.raw to project?

后端 未结 13 1411
半阙折子戏
半阙折子戏 2021-02-04 23:39

How I could add R.raw class to my android project? Now I haven\'t /res/raw folder at all (and class as well). And I can\'t find any tools in eclipse to do that. So how to add R.

13条回答
  •  长发绾君心
    2021-02-05 00:17

    enter image description hereRight click on package or Res folder click on new on popup then click on android resource directory

    a new window will be appear change the resource type to raw and hit OK copy and past song to raw folder remember don't drag and drop song file to raw folder and song spell should be in lower case! This method is for Android Studio Also Check MY Link

提交回复
热议问题