diff --git a/README.md b/README.md index e69de29..cdd4940 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,25 @@ +# Android eframe template +A basic eframe template with android support. + +## Compile for Desktop +Run cargo as normal +``` +cargo build +``` + +## Compile for Web +use [Trunk](https://trunkrs.dev/#install). +``` +trunk build +``` + +## Compile for Android +use [xbuild](https://github.com/rust-mobile/xbuild). +``` +x build --platform android --arch arm64 +``` + +If this fails check that you have the required external build tools installed with +``` +x doctor +```