Thibaut

Results 12 comments of Thibaut

And it only causes an error when the function returns !Account, not when it returns Account

ah okayyyyy thanks a lot :)

:thinking: I ran "cargo android apk build" and then "cargo android run" and it worked :thinking: I think I also reinstalled the cargo-mobile2 CLI just after `cargo mobile init` :thinking:...

But when I create a new blank wry project, `cargo mobile init` and `cargo android run` I get the same error :thinking: : ``` e: /home/riccardo/dioxus-test/gen/android/app/src/main/kotlin/com/example/dioxus_test/MainActivity.kt: (3, 22): Unresolved reference:...

For a project that compiles, `gen/android/app/src/main/kotlin/com/example/truc/` contains the following files : ``` Ipc.kt RustWebChromeClient.kt Logger.kt RustWebViewClient.kt MainActivity.kt RustWebView.kt PermissionHelper.kt WryActivity.kt proguard-wry.pro ``` But for the other project, `gen/android/app/src/main/kotlin/org/slt/org` only contains...

It seems like cargo-mobile2 doesn't generate some files needed like WryActivity.kt :thinking:

Thanks I'll try that asap !

Unfortunately I get the same error Here are the things I did : ``` export JAVA_HOME="/usr/lib/jvm/java-17-openjdk" ``` instead of ``` export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64" ``` otherwise it would cause a Kotlin error...

In fact I didn't follow the [https://github.com/ealmloff/docsite/blob/7f57a13d28e4d5d47c6fd9e3022fb1d2989aee1b/docs-src/0.4/en/getting_started/mobile.md](Mobile App guide) PR you opened :sweat_smile: I'll try that asap :sweat_smile: