In addition to the Android Developer Tools (ADT) plug-in for Eclipse / Android SDK, you can also use Android Studio (a new Android development environment based on IntelliJ IDEA) for developing and porting apps using Nokia X services SDK.
Download and install the latest version of Android Studio from the Android Studio web page. Note that Android Studio requires the latest version of Java Development Kit (JDK) to function (JRE alone is not sufficient). Make sure that the bit version of the bundle matches the JDK, that is, both need to be either 32-bit or 64-bit.
Note: Nokia X services SDK is tested on Android Studio v0.4.6 (early access preview).
Installing the required tools and packages
Open Android Studio. The Android Studio welcome page appears.
In the Android Studio welcome page, create a new project or open an existing project using the default settings. This launches the Project view for your project in Android Studio.
Note: The welcome page does not always appear. In that case, click the File menu to create or open a project.
From the Tools menu, select Android > SDK Manager. The Android SDK Manager dialog appears.
From the Android SDK Manager, ensure that the following Android SDK and tools are installed:
Close Android SDK Manager and Android Studio to install the Nokia X services SDK.
See the Install Nokia X specific packages section on Environment setup page for instructions on how to install the SDK add-ons.
To check whether the installation was successful, open the Android SDK Manager as shown below and ensure that the following packages are installed:
Open Android Studio.
Select Configure > Project Defaults > Project Structure.
If your project is already open, from the File menu, select Project Structure. For default project settings, select File > Other Settings > Default Project Structure. The Project Structure dialog appears.
Under Platform Settings, select SDKs and click Add New SDK (+ symbol) > Android SDK.
The Select Home Directory for Android SDK dialog appears.
Select the path in which Nokia X services SDK is installed as shown above and click OK. The default path is <androidstudio-install-path>\sdk. The Create New Android SDK dialog appears.
Under Build Target, for Nokia X2, select Nokia X software platform 2.0 (4.3) and for Nokia X/X+/XL, select Nokia X software platform 1.1 (4.1.2). Once you are done click OK.
The selected build target is added to the SDKs list. Now your projects are ready to build using Nokia X software platform.
Click OK to complete the configuration.
Last updated 15 October 2014