Update Android Studio
Preferences-> System Settings -> Android SDK
(Compare with your phone Android version: Phone settings -> About Phone -> About Software
)
Within Android Studio, navigate to Preferences -> Appearance & Behavior -> System Settings -> Android SDK
On the SDK Tools
tab check the boxes next to:
- LLDB
- NDK (Side by Side)
- CMake
Then click Apply
and OK
in the confirmation dialog to install the required components.
cd app-android
export ANDROID_NDK_HOME=~/Library/Android/sdk/ndk/<your version>
make
This will produce out-and/Orchid.apk
Turn on developer and debugging mode on the phone:
Navigate to Settings -> About Phone -> About Software
and tap on the build number repeatedly until it prompts you to enable developer mode.
Then go to Settings -> Developer Settings -> Turn on USB Debugging
.
PATH=$PATH:"~/Library/Android/sdk/platform-tools"
adb devices # list devices
adb install out-and/Orchid.apk
tclsh error
Install tclsh from Homebrew with:
brew install tcl-tk
export PATH="/usr/local/opt/tcl-tk/bin:$PATH”