# Mobile Environment Setup## OverviewMake sure you have all of the following:\
---## Setup### Development Environment#### Android StudioDownload and install [Android Studio](https://developer.android.com/studio).
Choose the right version for your operating system.When Android Studio is installed, open it.![Android Studio Window](/device-interaction/android-studio.png)
_Fig. 1: Android Studio Windo&#x77;_Go to Settings => Appearance & Behaviour => System Settings => Android SDK
Check the "Show Package Details" checkbox on the bottom right of the windows.![Android Studio Settings](/device-interaction/android-studio-settings.png)
_Fig. 2: Android Studio Setting&#x73;_Install the latest SDK version. Select the packages shown below and click apply.![Android Studio SDK Settings](/device-interaction/android-studio-SDK.png)
_Fig. 3: Android Studio SDK Settings_#### XcodeTo develop an iOS application we have to install [Xcode](https://apps.apple.com/us/app/xcode/id497799835?mt=12) via the Mac App Store.When the installation is complete, open Xcode then go to Settings => Locations.![Xcode Settings](/device-interaction/Xcode-settings.png)
_Fig. 1: Xcode Setting&#x73;_Select the most recent version from the "Command Line Tools" dropdown.![Xcode Location Settings](/device-interaction/Xcode-locations.png)
_Fig. 2: Xcode Location Setting&#x73;_Finally, install cocoapods by running:```console copy
sudo gem install cocoapods
```### Install HomebrewHomebrew is a package manager for macOS. When it needs to install software from third-party websites. To install it, run:```console copy
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
```### Install WatchmanReact Native uses watchman to detect real-time code changes and it automatically builds and pushes the update to your device without manually refreshing.```console copy
brew install watchman
```### Install Java JRE and JDKThere is a risk of react-native build failure if you don’t have a complete installation of Java. Downloading Android Studio is not enough since it comes bundled with its own JRE.```console copy
brew install --cask adoptopenjdk/openjdk/adoptopenjdk8
```### Install React NativeWith React Native, you can write an application in Javascript and then the React Native Compiler will convert your Javascript code into native code for iOS and Android environments.
React Native command line interface can be installed using npm as below.```console copy
npm install -g react-native-cli
```
