【问题标题】:Android emulator side bar option get clicked then emulator get killedAndroid模拟器侧栏选项被点击然后模拟器被杀死
【发布时间】:2020-05-03 02:33:00
【问题描述】:

我使用的是 Ubuntu 14.04 LTS。我已将 android-studio 更新到 3.5.3,但我遇到了模拟器问题。当我点击侧栏选项时,模拟器被杀死。

**Emulator event logs:**

    2:33 PM Emulator: /home/kreativ/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-i386: /lib/x86_64-linux-gnu/libdbus-1.so.3: no version information available (required by /home/kreativ/Android/Sdk/emulator/lib64/qt/lib/libQt5WebEngineCoreAndroidEmu.so.5)

    2:33 PM Emulator: Fontconfig warning: "/etc/fonts/fonts.conf", line 86: unknown element "blank"

    2:33 PM Emulator: queryCoreProfileSupport: swap interval not found

    2:34 PM Emulator: /home/kreativ/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-i386: relocation error: /home/kreativ/Android/Sdk/emulator/lib64/qt/lib/libQt5DBusAndroidEmu.so.5: symbol dbus_message_get_allow_interactive_authorization, version LIBDBUS_1_3 not defined in file libdbus-1.so.3 with link time reference

    2:34 PM Emulator: Process finished with exit code 127

Android 模拟器工作正常,但是当单击侧栏选项时,它会被杀死。如果您知道什么是问题,请告诉我。谢谢。

【问题讨论】:

    标签: android linux android-studio android-emulator


    【解决方案1】:

    Ubuntu 14.04 LTS 使用 libdbus-1-3 版本 1.6.18。 最近的模拟器需要最近的 libdbus-1-3 版本。 您可以使用以前的模拟器版本,例如 28.0.5

    http://dl.google.com/android/repository/emulator-linux-5395263.zip
    

    但是,Android Studio 不会检测到它,所以它必须从终端运行。

    $ cd ~/Android/Sdk/
    $ rm -rf emulator/ && unzip ~/Downloads/emulator-linux-5395263.zip
    $ ./emulator @Some_AVD
    

    【讨论】:

      猜你喜欢
      • 2016-08-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-05-21
      • 2020-11-16
      • 2021-03-01
      • 1970-01-01
      相关资源
      最近更新 更多