Product Reference: Smartface Command Line Interface (CLI)
Certain libraries must be installed to publish for Android. Run the command below from your terminal:Shell
sudo apt-get install -y lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
These requirements are for all platforms like Linux, macOS and Windows systems.
Java SE Development Kit 7u79
Android Tools (Optional) : If you want to immediately publish the output to a device or a running emulator instance, you also need to install Android Tools.
git (Optional) :If you want to download sample projects, you need to install git.
The command for installation is :
npm install smartface -g
This tool creates publishing output for both Android and iOS for Smartface Cloud projects. The output is APK file for Android and Xcode project file for iOS. You can publish your project by using either interactive mode or with the parameters. Easiest way to start using the CLI tool is via the interactive mode :