- Home /
I put sound in my project for android,but it is not work!
I put sound in my project for android .When I play it on Gamewindow,sound is work!But when I build it on my android mobile,the sound is not work!Why?My mobile play other game have sound no problem!Is it have some permissions unity3d for android about sound?
Can you post some code to show how you are calling/playing the sound.
Answer by jrivero.du · Sep 15, 2011 at 08:27 PM
Surely the problem lies in the type of file format of your audio, compression, frequency and so on. Check http://unity3d.com/support/documentation/Manual/Sound.html supported formats in the Android section Audio clip. ;)
I have mp3 and mav.They are all not work!Add sound is at audio source comopent's audio clip,right?Is there other step? I make a media player project build by eclipse for android's apk and it's work well on my phone for the same sound .It is means sound source and phone's setting up no problem.Right?Why!I am depressed.
Answer by hieudev · Apr 08, 2014 at 11:59 AM
try editing with Audacity, export with Lame encoding to a mp3 file and load it in unity3d. Works for me.
Answer by angralon · Jun 02, 2016 at 05:32 PM
I just had the same problem on my nexus 9.
Just reimporting the mp3 file solved it for me. In the next build the sound on android as well.
Your answer
![](https://koobas.hobune.stream/wayback/20220612213234im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
OnAudioFilterRead issues on Android? 1 Answer
Why no sound on Android 1 Answer
Tracker modules on Android 0 Answers
Android sound distorted 2 Answers