How enable physical keyboard on Emulator in Android Studio? (Used to work)

后端 未结 4 1439
滥情空心
滥情空心 2021-02-03 16:55

I\'m not sure what changed but the physical keyboard from my computer no longer works for the emulator (running kitkat in Nexus 5, x86). When i look in AVD at the device\'s adva

4条回答
  •  -上瘾入骨i
    2021-02-03 16:57

    Find the emulator's configuration in your home directory:

    //Located in:
    ~/.android/avd//config.ini
    

    For example, on the Nexus 5 (created by Android Studio), it was:

    ~/.android/avd/Nexus5.avd/config.ini
    

    Change the below setting to be:

    hw.keyboard=yes
    

提交回复
热议问题