DioxusLabs / DioxusLabs/docsite

dx required `ANDROID_NDK_HOME` while it's not mentioned in doc

Open Beginner friendly
#509 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
206
Forks
208
Avg merge
1h 11m
Merged PRs (30d)
3

Description

![Image](https://github.com/user-attachments/assets/f56026fe-a323-43ce-b3ba-022810bebf53)

The error says:

> Build failed: Other(Android linker not found. Please set the `ANDROID_NDK_HOME` environment variable to the root of your NDK installation.)

However, in the [Mobile App - Android](https://dioxuslabs.com/learn/0.6/guides/mobile/#android) chapter, it only gives:

```
export JAVA_HOME="/Applications/Android Studio.app/Contents/jbr/Contents/Home"
export ANDROID_HOME="$HOME/Library/Android/sdk"
export NDK_HOME="$ANDROID_HOME/ndk/25.2.9519653"
export PATH="$PATH:$ANDROID_HOME/emulator:$ANDROID_HOME/platform-tools"
```

So `ANDROID_NDK_HOME` should also be added into the env list.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the Mobile App - Android chapter linked in the issue and compare its environment-variable example with the reported linker error. Update the environment list to include ANDROID_NDK_HOME, then verify the example documents the variable named by the error alongside the existing Android paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.