DioxusLabs / DioxusLabs/dioxus
Android: The compiled APK file cannot be installed
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
The compiled APK file cannot be installed — it shows a message about device incompatibility.
It's not possible to compile and install the APK via USB; the emulator keeps launching instead.
**Problem**
java version "24.0.2" 2025-07-15
Java(TM) SE Runtime Environment (build 24.0.2+12-54)
Java HotSpot(TM) 64-Bit Server VM (build 24.0.2+12-54, mixed mode, sharing)
dx doctor ───────────────────╯
Setup
Web: wasm-bindgen, wasm-opt, and TailwindCSS are downloaded automatically
iOS: Install iOS SDK and developer tools and through XCode
Android: Install Android Studio, NDK, and then set ANDROID_HOME and ANDROID_NDK_HOME
macOS: all tools should be installed by default
Windows: install the webview2 binary
Linux: Install libwebkit2gtk-4.1-dev libgtk-3-dev libasound2-dev libudev-dev libayatana-appindicator3-dev libxdo-dev libglib2.0-dev
nix: Make sure all tools are in your path (codesign, ld, etc.)
Rust
Rustc version: rustc 1.89.0 (29483883e 2025-08-04)
Rustc sysroot: C:\Users\user\.rustup\toolchains\stable-x86_64-pc-windows-msvc
Rustc path: C:\Users\user\.cargo\bin\rustc.exe
Cargo path: C:\Users\user\.cargo\bin\cargo.exe
cc path: not found
Devtools
VSCode Extension: C:\Users\user\.vscode\extensions\dioxuslabs.dioxus-0.6.0
Cursor Extension: C:\Users\user\.cursor\extensions\dioxuslabs.dioxus-0.6.0
TailwindCSS: C:\Users\user\.dx\tailwind/tailwindcss-v4.1.5.exe
Web
wasm-opt: not installed
wasm-bindgen: C:\Users\user\.dx\wasm-bindgen/wasm-bindgen-0.2.100.exe
wasm-bindgen version: 0.2.100
iOS/macOS
XCode: not found
Simulator: not found
Security CLI: not found
Codesign CII: not found
xcode-select: not found
xcrun: not found
ranlib: C:\Program Files\LLVM\bin\llvm-ranlib.exe
Android
sdk: C:\Users\user\AppData\Local\Android\Sdk
ndk: C:\Users\user\AppData\Local\Android\Sdk\ndk\25.2.9519653
adb: C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe
emulator: not found
java_home: C:\Program Files\Android\Android Studio\jbr
Toolchains
✅ wasm32-unknown-unknown (web)
✅ aarch64-android-linux (android)
✅ i686-linux-android (android)
✅ armv7-linux-androideabi (android)
✅ x86_64-android-linux (android)
❌ x86_64-apple-ios (iOS)
❌ aarch64-apple-ios (iOS)
❌ aarch64-apple-ios-sim (iOS)
❌ aarch64-apple-darwin (iOS)
The compiled APK file cannot be installed — it shows a message about device incompatibility.
It's not possible to compile and install the APK via USB; the emulator keeps launching instead.
**Screenshots**
**Environment:**
- Dioxus version: last main branch dioxus 0.7.0-rc.0 (5ebde96)
- Rust version: rustup 1.28.2 (e4f3ad6f8 2025-04-28)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.89.0 (29483883e 2025-08-04)`
- OS info: Win 11
- App platform: android
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.