How to associate / open mp3 files in raw folder?

4

I am with probremas with songs, whenever I add some music and I will execute some code of the error, whenever I click on the music in the raw folder a text appears, in tutorials I saw the person clicks on the song and plays it I will show photos,

    
asked by anonymous 22.10.2017 / 23:27

1 answer

2

This is because by copying the file to the raw folder you have associated it as text or something.

Anyway, AndroidStudio does not have an internal music player.

What you should do, in the association window, choose the "Open matching files in associated application" option
This will open the application registered in Windows to open files with the mp3 extension.

FileassociationcanbemanagedinFile->Settings;Editor/FileTypes

    
22.10.2017 / 23:52