gldanoob
gldanoob

Reputation: 802

Strange sound produced by Android Emulator when turned on in Android Studio

I've just update my Android Studio together with the Android Emulator to the newest version. After I click "run" in my project and selected my emulator, it boots up like normal. However, when the app pops up, I can hear some strange noise produced. I've made sure that I didn't set the app to play any sound. Link to the strange noise

Android Emulator: Galaxy Nexus API 27
Android Studio Version: 3.0.1

Upvotes: 22

Views: 18021

Answers (4)

Mr-IDE
Mr-IDE

Reputation: 7651

On Android 10/11/12 emulators, this odd "sparkle" sound happens when rotating the device to landscape or portrait. Here's how to turn it off:

Google Android emulator screenshots - status bar notification for "Configure Physical Keyboard"

  1. Launch your Android 10 or 11 emulator (API 29 or 30)
  2. Drag and pull down the notification bar at the top (screenshot A)
  3. You should see a "Configure physical keyboard" notification from the status bar. Drag it to the right slowly and by a small amount, to reveal the settings cog icon ️️⚙️ (screenshot B)
  4. Press the Settings cog icon ⚙️ to reveal the expanded options (screenshot C)
  5. Click on "Silent - No sound or vibration", then click "Apply/Done"
  6. Optional: If a "Configure physical keyboard" notification still appears, swipe it to the right, to remove it.

Another way - Android 10/11

  1. On the Home screen, swipe up to reveal all the apps
  2. Settings ➔ Apps & Notifications ➔ Notifications ➔ Android System ➔ Physical Keyboard (and/or Virtual Keyboard) ➔ Switch it off or click it and set it to Silent.

Another way - Android 12 (API 31)

  1. On the Home screen, swipe up to reveal all the apps
  2. Settings ➔ Notifications ➔ App Settings ➔ Click the '3 dots' menu at the top ➔ Show System (to reveal system apps in the list) ➔ Android System ➔ Physical Keyboard (and/or Virtual Keyboard) ➔ Switch it off or click it and set it to Silent.

Android 11 Settings app - Notifications

Now there are no more annoying noises when changing the emulator's orientation.

Upvotes: 2

Aman
Aman

Reputation: 2403

It can be due to multiple reasons: One of the reason is

  1. If you turn your laptop Bluetooth ON. If that is the case, turn Bluetooth off and restart the emulator.

Upvotes: 1

Joshua Pinter
Joshua Pinter

Reputation: 47481

Turn off Touch Sounds on the Android device/emulator.

You can find it under Settings -> Sound & notification -> Other sounds -> Touch sounds

enter image description here

Upvotes: 24

gldanoob
gldanoob

Reputation: 802

That sound was actually the notification sound of the emulator. Since my app is in landscape mode, it needed me to configure the keyboard in landscape mode. So the notification came out.

Upvotes: 3

Related Questions