[][src]Module creator_tools::commands::android

Structs

Key

Key for signing APK.

Functions

add_libs_into_apk

Adds given lib and all reletad libs into APK. Uses readelf, aapt tools.

align_apk

Aligns APK on 4-byte memory boundary. Uses zipalign build tools.

compile_rust_for_android

Compiles rust code for android.

create_android_manifest

Saves given manifest in new AndroidManifest.xml file.

detect_abi

Returns current android target. Runs adb shell getprop ro.product.cpu.abi command.

gen_debug_key

Generates debug key for signing APK. Runs keytool ... command.

gen_unaligned_apk

Generates unaligned APK with given manifest_path, assets and res. Uses aapt build tool.

install_apk

Installs given APK in emulator or connected device. Runs adb install -r ... command.

sign_apk

Signs APK with given key. Uses apksigner build tool.

start_apk

Starts installed APK on on emulator or connected device. Runs adb shell am start ... command.