DioxusLabs / DioxusLabs/dioxus
Android App Icon Configuration Not Working
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
**Problem**
Unable to configure custom app icon for Android builds using Dioxus.toml file. The default Android photo icon is always used regardless of configuration attempts.
**Steps To Reproduce**
Steps to reproduce the behavior:
1. Create a Dioxus project with Android target
2. Configure Dioxus.toml with icon paths:
```toml
[bundle]
icon = [
"assets/icons/icon-32x32.png",
"assets/icons/icon-128x128.png",
"assets/icons/icon-128x128@2x.png",
"assets/icons/icon-256x256.png",
"assets/icons/icon-512x512.png"
]
```
3. Create PNG icons in specified sizes
4. Run `dx build --platform android`
5. Install with `adb install target/.../app-debug.apk`
6. Observe that app still uses default Android photo icon
**Expected behavior**
The app should display the custom icon specified in Dioxus.toml when installed on an Android device. Instead, it always shows the default Android photo placeholder icon.
**Environment:**
- Dioxus version: 0.6.2
- Rust version: 1.84
- OS info: Linux (Ubuntu 24.04)
- App platform: Android
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.