Litttle_fish
Litttle_fish
Addendum: In my tests, bevy with `android-game-activity` feature enabled runs better than native without any code changes, and I didn't encounter bugs.
> > bevy with android-game-activity feature enabled runs better than native > > ca you be more specific about what _better_ means? It can let rust code(originally C++ though) control...
> I think `android-game-activity` should be part of the default features for the Bevy crate. > Ugh I just reckoned what this line *really* means, so forget what I have...
Ok I added `android-game-activity` as a default feature now🤔 But I'm not sure if `cargo apk` still works with GameActivity in examples. Still needs some tweaking...
After my tests the original mobile example(used `cargo-apk`) no longer works with GameActivity, because GameActivity needs the app theme to be the child of `Theme.AppCompat` but `cargo-apk` can't recognize it....
> it would be nice to be able to keep a common example for iOS and Android, does the code for game activity differs that much? nope, GameActivity won't change...
so if we have to give up `cargo-apk`, then how to make the new mobile example? for now, my idea is simply replace the android part with a Android Studio...
I tried making a minimal android project to use agdk in examples, but this (probably) requires moving `assets` and `resources` into gradle, and I have no idea how to do...
Sorry for the long wait, I had stuck in school before. I'm still trying to shove a minimum android project into the mobile example, and I've made some progress. For...
I figured out why ANR happens the example must build with `--release` when using `cargo ndk` strange, but it does run normally now