Sound component Not working on Android Emulator

Fix my AIA Pleae, I don’t know why but sound is not playing on button click.

Check my AIA and fix this.
test.aia (130.6 KB)

f you are asking for help, I recommend you to make it as easy for others to be able to help you …

You probably will get more feedback then…

which means in your case post a screenshot of your relevant blocks…

To download the aia file, upload it to Kodular, open it, do some bug hunting for you, etc… this takes time, and most people will not do that…

Thank you.

Taifun

I tried but didn’t encounter any problems, it works.

Strange, do you have permission to play the audio?

Is kodular companion, or Android emulator, able to play sound? actually i tried through companion and installing .apk nothing work, no sound :frowning:
are you able to play sound? can you hear?

Understandable, but there is just a sound asset and simple sound block, not able to play sound. although I’ll post according next time.

Try to use the Player component

1 Like

Hi,
All this is not kodular issue, but my Android Emulator problem.

If anyone having same issue and using Companion or apk that have sound on Emulator, try these step to fix :

How to Fix No Audio in Android Emulator (Easy 3-Step Fix)

Step 1: Open the Emulator’s Folder

  1. Open Android Studio .
  2. On the right side, open the Device Manager .
  3. Find your emulator in the list. On its far right, click the dropdown menu (⋮).
  4. Select “Show on Disk” .

Step 2: Find and Edit the Config File

  1. This will open the folder where your emulator is saved.
  2. Look for a file named config.ini and open it with any text editor (like Notepad or Notepad++).

Step 3: Change the Audio Settings

  1. Inside the file, look for these two lines:
  • hw.audioInput
  • hw.audioOutput
  1. If they are there , change both of their values to yes .
  • If they are NOT there , just add these two new lines anywhere in the file:

hw.audioInput = yes
hw.audioOutput = yes

  1. Save the file.
  2. Completely shut down your emulator and restart it.

That’s it! The audio should now be working. Let me know in the comments if this solved your problem! :+1: