---
title: "Discussion on \"HOW TO ADD SOUND OR MUSIC TO YOU ANDROID STUDIO PROJECT\" | Hashnode"
description: "Discussion on \"HOW TO ADD SOUND OR MUSIC TO YOU ANDROID STUDIO PROJECT\". create a new Directory under the res folder and name it raw\nadd your desired music or sound to the raw folder\nin you MainActivity.java put the code below\n\n\npackage com.example.sound;\nimport androidx.appcompat.app.AppCompatActivity;\nimport android.con..."
url: "https://hashnode.com/posts/how-to-add-sound-or-music-to-you-android-studio-project/5f8df1543432643d6b92c1cd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [HOW TO ADD SOUND OR MUSIC TO YOU ANDROID STUDIO PROJECT](https://nnadihenry.hashnode.dev/how-to-add-sound-or-music-to-you-android-studio-project?utm_source=hashnode&utm_medium=feed)

create a new Directory under the res folder and name it raw add your desired music or sound to the raw folder in you MainActivity.java put the code below package com.example.sound; import androidx.appcompat.app.AppCompatActivity; import android.con...

Oct 19, 2020 · 3 min read · nnadihenry.hashnode.dev  
Read the article

-   [#android-studio](https://hashnode.com/tag/android-studio)

## Written by

[nnadi henry](https://hashnode.com/@Nnadihenry)

@Nnadihenry

  
[View profile](https://hashnode.com/@Nnadihenry)

Mobile development

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
