bevyengine / bevyengine/bevy

Unable to build android on ubuntu (WSL 2)

Open
#10,807 0 comments 0 reactions 0 assignees View on GitHub
A-Build-System C-Bug O-Android
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version

0.12.0

## \[Optional\] Relevant system information

 cargo --version
cargo 1.73.0 (9c4383fb5 2023-08-26)

## What you did

 cargo apk run -p bevy_mobile_example
Using package `bevy_mobile_example` in `/home/skyler/bevy/examples/mobile/Cargo.toml`
Warning: Environment variable ANDROID_SDK_ROOT is deprecated (https://developer.android.com/studio/command-line/variables#envar). It will be used until it is unset and replaced by ANDROID_HOME.
Error: No such file or directory (os error 2)

## What went wrong
- what were you expecting?
The example android example from the repo to build

- what actually happened?
Got an instant error: Error: No such file or directory (os error 2)

Hard to debug from there

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.