Skip to content

Unable to run mobile example on Android emulator #10945

@akfpnd

Description

@akfpnd

Bevy version

main branch 4b186...cbb41

Relevant system information

  • the Rust version you're using (you can get this by running cargo --version)
    cargo 1.74.1 (ecb9851af 2023-10-18)
  • the operating system or browser used, including its version
    MacOS 14.1.2 (23B92)
    Android 12L emulator
    Android 13 emulator
    Android 14 emulator

What you did

I just run cargo apk run -p bevy_mobile_example in terminal

What went wrong

The mobile example on Android 12, Android 13, Android 14 emulators is not running.
Example application just hang forever on splash screen.

Additional information

Android 12L, 13 (emulator):

E event crates/bevy_gilrs/src/lib.rs:42:  Failed to start Gilrs. Gilrs does not support current platform.
E log event:  Handling wgpu errors as fatal by defaultlog.target = "wgpu::backend::direct"; log.module_path = "wgpu::backend::direct"; log.file = ".cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.17.2/src/backend/direct.rs"; log.line = 3055;
E RustPanic: called `Result::unwrap()` on an `Err` value: RecvError

Android 14 (emulator):

2-12 16:41:25.186  4195  4226 E platform: Failed to open rendernode: No such file or directory
12-12 16:41:31.188  4195  4235 E androidemu: Logging hang event. Number of tasks already hung: 0
12-12 16:41:31.188  4195  4235 E androidemu: Metadata:
12-12 16:41:31.188  4195  4235 E androidemu:     file: device/generic/goldfish-opengl/system/vulkan_enc/VkEncoder.cpp
12-12 16:41:31.188  4195  4235 E androidemu:     function: vkGetPhysicalDeviceFeatures2
12-12 16:41:31.188  4195  4235 E androidemu:     line: 17569
12-12 16:41:31.188  4195  4235 E androidemu:     msg: vkGetPhysicalDeviceFeatures2 in VkEncoder
12-12 16:41:31.188  4195  4235 E androidemu:     thread: 4226 (0x00001082)
12-12 16:41:31.188  4195  4235 E androidemu:     process name: org.bevyengine.example
12-12 16:41:31.188  4195  4235 E androidemu:     Additional information:
12-12 16:41:31.188  4195  4235 E androidemu:             seqno: 9
12-12 16:41:31.188  4195  4235 E androidemu:             packetSize: 280
12-12 16:41:31.188  4195  4235 E androidemu:             packetContents:  B3 4E 00 00 18 01 00 00 09 00 00 00 01 00 00 00 02 00 02 00 78 B0 9B 3B 00 00 00 18 50 F2 9F 3B 50 F2 9F 3B 00 00 00 18 08 75 A1 3B 08 75 A1 3B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
12-12 16:41:31.188  4195  4235 E androidemu: HealthMonitor: Number of unresponsive tasks increased: 0 -> 1
Screenshot 2023-12-12 at 4 50 02 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BugAn unexpected or incorrect behaviorO-AndroidSpecific to the Android mobile operating systemS-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions