Skip to main content

Installation Guidelines

Tools and Development kit


Android :



Using Android Studio


To set up Android Studio on Windows:
  1. Launch the .exe file you downloaded.
  2. Follow the setup wizard to install Android Studio and any necessary SDK tools.
On some Windows systems, the launcher script does not find where the JDK is installed. If you encounter this problem, you need to set an environment variable indicating the correct location.

Select Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and add a new system variable JAVA_HOME that points to your JDK folder, for example C:\Program Files\Java\jdk1.7.0_21.

The individual tools and other SDK packages used by Android Studio are installed in a separate directory. 

If you need to access the tools directly, use a terminal to navigate to the location where they are installed. For example:
\Users\<user>\sdk\

To set up Android Studio on Mac OSX:
  1. Launch the .dmg file you downloaded.
  2. Drag and drop Android Studio into the Applications folder.
  3. Open Android Studio and follow the setup wizard to install any necessary SDK tools.
If you need to use the Android SDK tools from a command line, you can access them at:
/Users/<user>/Library/Android/sdk/

To set up Android Studio on Linux:
  1. Unpack the .zip file you downloaded to an appropriate location for your applications.
  2. To launch Android Studio, open a terminal; navigate to the android-studio/bin/ directory, and executestudio.sh.
You may want to add android-studio/bin/ to your PATH environmental variable so that you can start Android Studio from any directory.
  1. If the SDK is not already installed, follow the setup wizard to install the SDK and any necessary SDK tools.



Using Eclipse IDE and ADT Plugin

  • Installation of a tool i.e. Eclipse for windows, you can find the download link here.

  • Installation of Android SDK for eclipse as plugin :


  1. Start Eclipse, then select Help > Install New Software.
  2. Click Add, in the top-right corner.
  3. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
    https://dl-ssl.google.com/android/eclipse/
  4. Click OK.
    If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
  5. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  6. In the next window, you'll see a list of the tools to be downloaded. Click Next.
  7. Read and accept the license agreements, then click Finish.
    If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
  8. When the installation completes, restart Eclipse.

Alternate Method :



  1. Download the ADT Plugin zip file (do not unpack it):
  2. ADT-21.1.0.zip
  3. Start Eclipse, then select Help > Install New Software.
  4. Click Add, in the top-right corner.
  5. In the Add Repository dialog, click Archive.
  6. Select the downloaded ADT-21.1.0.zip file and click OK.
  7. Enter "ADT Plugin" for the name and click OK.
  8. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  9. In the next window, you'll see a list of the tools to be downloaded. Click Next.
  10. Read and accept the license agreements, then click Finish.
    If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
  11. When the installation completes, restart Eclipse.

To update your plugin once you've installed using the zip file, you will have to follow these steps again instead of the default update instructions.



Blackberry : Research In Motion : 


For Blackberry Development you need to Install Blackberry JDE or you can Download Blackberry plugin for Eclipse.


Here is a link that have both of the mentioned ways of installation.


For easiness, it is better to code in Eclipse rather than in BB JDE as Eclipse provide more suggestions than JDE.

You can also work on both which is considered as the best way in case of Blackberry development.

You can code in Eclipse and compile/run in JDE.


Following are the steps :
  1. Create new java project in Eclipse.
  2. Include the libraries needed for Blackberry Environment : Righclick on project>Build Configurations path>Add External Libraries
  3. Include the library "net_rim_api.jar"
  4. Open JDE, Create new Workspace.
  5. Add project to the workspace that is created through Eclipse.
  6. Add all project files into the JDE project manually.
  7. Build Project or run directly in JDE. 




Apache Cordova>3.0 Installation for Hybrid Apps Development

Follow the steps to install Apache Cordova :

  1. Install NodeJs in your system from here.
  2. Install Git in your system from here.
  3. After successful installation, you may check node version by executing the command <npm -version> on command line tool.
  4. Install Apache Cordova by executing the command <npm install -g cordova>. This would install the latest version of Cordova.
  5. After successful installation of cordova, you may create cordova based project for different platforms. However, it is pretty much obvious that you would need respective SDKs for different OSes.
  6. Installation Completed!




PhoneGap version<3.0 Installation for Android OS

There are different guidelines for installing phonegap for different OS, which you may find here.

Follow given set of instructions to install phonegap plugin for Android : 
  1. Download Phonegap Package for Android from here.
  2. Open Eclipse, go to file>new>others>Android Application Project. Give the required information like project name etc.
  3. Create a directory under asset : www>index.html.
  4. Right click on the project go to Build Path>configure build path>Libraries>Add External Jar and enter the directory root where your installed package is extracted out and add cordova 2.9.1.js
  5. Copy xml folder from installed package to the res directory of your project.
  6. Open src>package>MainActivity.java and copy paste these lines of code : -

package com.example.MainActivity;

import org.apache.cordova.DroidGap;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
public class MainActivity extends DroidGap {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        super.init();
super.appView.getSettings().setJavaScriptEnabled(true);
super.appView.addJavascriptInterface(new JavaScriptInterface(),
"Android");
super.loadUrl("file:///android_asset/www/index.html",5000);
    }
public class JavaScriptInterface {
}  
}

Installation Completed ! Now run your project using Run > Run As> Android Project.

Comments