DioxusLabs / DioxusLabs/dioxus
Android fails to launch app on 0.7 alpha
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
**Problem**
App crashes on launch
**Steps To Reproduce**
Steps to reproduce the behavior:
- dx serve --platform android crashes on launch:
**Expected behavior**
App should start. Instead:
```
JNI DETECTED ERROR IN APPLICATION: JNI FindClass called with pending exception java.lang.NoSuchMethodError: no non-static method "Ldev/dioxus/main/RustWebView;.(Landroid/content/Context;[Ljava/lang/String;)V
```
Dioxus 0.6 is fine and Dioxus-cli 0.7 with dioxus 0.6 app launches the app but none of the assets load.
**Environment:**
- Dioxus version: 0.7.0-alpha-3
- Rust version: 1.88
- OS info: Arch Linux
- App platform: Android 15
**Questionnaire**
I'm interested in fixing this myself but don't know where to start.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.