roid

Crates.ioroid
lib.rsroid
version0.1.2
sourcesrc
created_at2021-10-29 09:01:12.89714
updated_at2021-11-13 13:38:33.126278
descriptionAndroid Developer Toolkit
homepagehttps://github.com/cy6erlion/roid
repositoryhttps://github.com/cy6erlion/roid
max_upload_size
id473853
size20,715
(cy6erlion)

documentation

README

crates.io

               (
 (        (    )\ )
 )(    (  )\  (()/(
(()\   )\((_)  ((_))
 ((_) ((_)(_)  _| |
| '_|/ _ \| |/ _` |
|_|  \___/|_|\__,_|

roid 0.1.2
Android Developer Toolkit

USAGE:
    roid [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    build      Build an Android project
    device     Android device management
    help       Prints this message or the help of the given subcommand(s)
    install    Install an APK on a device or emulator

Guide

Install with cargo:

$ cargo install roid

Set up a Roid.toml file @ ~/.config/Roid.toml:

# Path to gradle
# defaults to: gradle
gradle = "/usr/bin/gradle"

# Path to Android SDK emulator cli tool: 
# defaults to: emulator
emulator = "/home/{user}/Android/Sdk/emulator/emulator"

# Path to ADB
# defaults to: adb
adb = "/usr/bin/adb"

Build (compile) project in debug mode

$ roid build --debug

List all devices (both physical and emulators)

$ roid device --list

Install apk on a device

$ roid install --apk ./build/outputs/apk/debug/app-debug.apk
Commit count: 27

cargo fmt