add README.md

This commit is contained in:
Lucas Schumacher 2024-04-25 15:58:27 -04:00
parent 9911fa4571
commit 6dacbe5a11

View File

@ -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
```