From cee748028c85481ecc1c070e57cb7ee99fb8ced0 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Sun, 14 Apr 2024 13:20:22 +0300 Subject: [PATCH] readme: android --- README.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 6e5dc58..438f3ef 100644 --- a/README.md +++ b/README.md @@ -22,21 +22,11 @@ cargo build release ### Android #### Set up the environment -Install Android SDK / NDK / Platform Tools -``` -brew cask install android-sdk android-ndk android-platform-tools -``` - -Add to your `.bashprofile` or `.zshrc`: -``` -export ANDROID_HOME="$(brew --prefix)/share/android-sdk" -export PATH=$PATH:$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools -export ANDROID_NDK_HOME="$(brew --prefix)/share/android-ndk" -``` +Install Android SDK / NDK / Platform Tools for your OS according to this [FAQ](https://github.com/codepath/android_guides/wiki/installing-android-sdk-tools). #### Build the project Run Android emulator or connect a real device. Command `adb devices` should show at least one device. -In the root of the repo run `./build_run_android.sh release {arch}`, where is `arch` is `v7` or `v8` based on device CPU architecture. +In the root of the repo run `./build_run_android.sh release arch`, where is `arch` is `v7` or `v8` based on device CPU architecture. ## License