added readme and made the demo runable with cargo run

This commit is contained in:
Schmarni
2023-10-31 17:28:09 +01:00
parent 08d57085d7
commit 9170411291
2 changed files with 11 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ edition = "2021"
[lib]
crate-type = ["cdylib"]
crate-type = ["cdylib","lib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

10
examples/demo/Readme.md Normal file
View File

@@ -0,0 +1,10 @@
# setup
install xbuild ´´´sh cargo install --git https://github.com/rust-mobile/xbuild ´´´
run ´´´sh x doctor ´´´ and install all required depencencies
# how to run
run ´´´sh x devices ´´´ and get the device name that looks something like this "adb:1WD523S" (probably a bit longer)
then ´´´sh run x run --release ´´´