added readme and made the demo runable with cargo run
This commit is contained in:
@@ -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
10
examples/demo/Readme.md
Normal 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 ´´´
|
||||
Reference in New Issue
Block a user