You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the current main branch, the WebView renderer starts successfully, but dx serve --android --renderer native fails with the following error.
I wanted to try the native renderer because the device uses an old Android 7 System WebView based on Chromium 52, which is too old to run the interpreter.
I understand that the native renderer is experimental. I would like to confirm whether Android support for the native renderer is currently under active development, or whether Android is not supported yet.
09:02:27 [cargo] error[E0583]: file not found for module `activity_impl`
--> /Users/a13400/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/android-activity-0.6.1/src/lib.rs:381:1
|
381 | pub(crate) mod activity_impl;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: to create the module `activity_impl`, create file "/Users/a13400/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/android-activity-0.6.1/src/activity_impl.rs" or "/Users/a13400/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/android-activity-0.6.1/src/activity_impl/mod.rs"
= note: if there is a `mod activity_impl` elsewhere in the crate already, import it with `use crate::...` instead
09:02:27 [cargo] error: Either "game-activity" or "native-activity" must be enabled as features
If you have set one of these features then this error indicates that Cargo is trying to link together multiple implementations of android-activity (with incompatible versions) which is not supported.
Since android-activity is responsible for the android_main entrypoint of your application then there can only be a single implementation of android-activity linked with your application.
You can use cargo tree (e.g. via cargo ndk -t arm64-v8a tree) to identify why multiple versions have been resolved.
You may need to add a [patch] into your Cargo.toml to ensure a specific version of android-activity is used across all of your application's crates.
--> /Users/a13400/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/android-activity-0.6.1/src/lib.rs:352:1
|
352 | / compile_error!(
353 | | r#"Either "game-activity" or "native-activity" must be enabled as features
...
366 | | android-activity is used across all of your application's crates."#
367 | | );
| |_^
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
On the current
mainbranch, the WebView renderer starts successfully, butdx serve --android --renderer nativefails with the following error.I wanted to try the native renderer because the device uses an old Android 7 System WebView based on Chromium 52, which is too old to run the interpreter.
I understand that the native renderer is experimental. I would like to confirm whether Android support for the native renderer is currently under active development, or whether Android is not supported yet.
All reactions