add README.md
This commit is contained in:
parent
9911fa4571
commit
6dacbe5a11
25
README.md
25
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
|
||||||
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user