rust-mobile / cargo-apk

Helps cargo build APKs
Apache License 2.0
101 stars 28 forks source link

made examples compile and run on android #34

Closed jluuM2 closed 1 year ago

jluuM2 commented 1 year ago

I had not seen the xbuild announcement, I am going to try xbuild. I made the example compile, it may be useful for others

MarijnS95 commented 1 year ago

This looks incomplete (and untested??), these examples are "tailored" for simplicity with cargo-apk. Rather, xbuild should attain support for compiling crate examples out of the box and then none of this (besides maybe reducing the API level via manifest.yaml) will be needed.

Closing as "not the right way to approach this".

joseluu commented 1 year ago

Tested on my android phone