> For the complete documentation index, see [llms.txt](https://marouanesouah.gitbook.io/cryptoz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://marouanesouah.gitbook.io/cryptoz/build/build-android-version.md).

# Build Android version

## INSTALL REQUIREMENT

To Build an Android version of this app you must have **Android SDK** installed on your computer using the steps bellow :

1. &#x20;Make sure the **Android SDK** and the ant build tool are available on your system. The Android SDK is available [Here](http://developer.android.com/sdk/index.html). Both the android and ant tools must be available in your path. To test your configuration, you should be able to execute both android and ant from the command line. Please check [this video ](https://www.youtube.com/watch?v=ywynAxPjU9w)on how to setup Android SDK.
2. After you have installed the SDK, open the command line, and make sure you are **inside the project folder**&#x20;
3. &#x20;Add support for the Android platform by running this command :

```
$  ionic cordova platform add android
```

## RUN ON EMULATOR

After you've add android platform to your project, you can choose either to run the app on an **emulator** or an Android **device**.

To run on an emulator :&#x20;

```
 $ ionic cordova emulate android
```

![](https://95637101-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LPldOR-zLunAcbQ7rlx%2F-LPuVsEfgOPERevlWDFt%2F-LPuYTsYZ_bcPobChjVO%2FScreen%20Shot%202018-10-28%20at%2012.02.07.png?alt=media\&token=da9a9162-6eda-4b6d-a6eb-012c2f581c10)

## RUN ON REAL DEVICE

To run your app on a real device , all you have to do is enable USB debugging and Developer Mode on your Android device, then run from your command line :

```
$ ionic cordova run android --device
```

## BUILD APK

To build the APK file for the project, run the following command from your command line :&#x20;

```
 ionic cordova build android
```

{% hint style="info" %}
**NOTE :** if you have any problem during building this app for Android or IOS, you can check the official [DOCS](https://ionicframework.com/docs/intro/deploying/) from IONIC for deploying an Ionic App, Or you can check this [Tutorial.](http://neilberry.com/blog/post.php?s=2017-01-07-how-to-run-your-ionic-app-on-real-devices)
{% endhint %}
