Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tahir-hassan/b78fba821b40398f3e0c372c7b56387b to your computer and use it in GitHub Desktop.
Save tahir-hassan/b78fba821b40398f3e0c372c7b56387b to your computer and use it in GitHub Desktop.
Android Emulator - Hardware Back, Forward, Overview buttons not working

Problem

The Back, Home and Overview buttons (left pointing triangle, circle, square) buttons don't do anything when clicked in Emulator.

Solution

Go into avd folder. You will find it in:

  • $ANDROID_AVD_HOME if you have set it.
  • $ANDROID_SDK_HOME\avd
  • $HOME\.android\avd
  • $LOCALAPPDATA\.android\avd

In the .avd folder for your emulator (e.g. flutter_emulator.avd), there is a file config.ini. In this file, set hw.keyboard to yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment