I am using the android 2.2 version here.ĪDT (Android Development Tools) is required for developing the android application in the eclipse IDE. Now double click on the exe file, it will be installed. In this example we have installed the android SDK for windows (.exe version). Eclipse classic version is recommended but we are using the Eclipse IDE for JavaEE Developers.įirst of all, download the android SDK. you can download it from this location download the Eclipse.
Here, you will be able to learn how to install the android SDK and ADT plugin for Eclipse IDE. In this page, you will learn what softwares are required for running an android application on eclipse IDE.
To run an Apk which is not coming from Google Play you need: We can send the Apk file generated by mail, Bluetooth, USB, wifi, etc. If you do not have a real device you can create a virtual one in the emulator. We can find this apk file in the bin folder inside our Android project after execution. Simply run our application in Eclipse on a real or virtual device to create an apk file. This is a quick solution when we have problems connecting our device our when we want the opinion of a friend. Test the Android application using the Apk File To resolve this incompatibility the Activity inherits from 7.app.ActionBarActivity and a appcompat_v7 project is created. The Action Bars are supported by default from the Android API version 15 onwards.
The project generator includes in the Activity created, the use of the "Actions Bars". It is convenient to choose API 8 so that our program works in more than 95% of existing Androids devices. Once the plugin is installed, you can create an Android project just going to File - New - Project and select Android Application Project. How to create an Android project in Eclipse and run it If we use Libgdx to develop in Android, we will have an HTML5 version with almost no extra work. GWT is a tool for developing in Java which is compiled into HTML5.
In the future I will convince you to use them.Īpp Engine is a free server for Java which is very convenient for Android or Web applications. With this, we have all we need for Android development but I suggest downloading "Google Plugin for Eclipse" and the SDKs for App Engine and GWT. We select all options in "Development Tools" except "Native Development Tools".
Add ADT "" using " Google Plugin for Eclipse".
After indicating in which directory we want to set the workspace, go to the Help menu - Install new Software. We download Eclipse Kepler, unzip it in the folder you want and start eclipse.exe.
Chose "Kepler" as there are conflicts between Eclipse later versions and plugins used for developing Android and Java in general like Gradle, Libgdx and others. We look for "eclipse download" in google and navigate to find "Eclipse IDE for Java Developers" but instead of the latest version, look for the one called "Kepler". Installing Eclipse and Android ADT plugin (any doubt go to Windows and MS-DOS Environment variables)
Gradle) to define the ANDROID_HOME variable with the directory where you installed the SDK. We run the SDK manager and download the packages selected by default. We download the SDK and install it in our PC. In this tutorial we will install stand-alone SDK, Eclipse Kepler and finally the Eclipse plugin. (This is the preferred choice of Android developers in general but not for Google which has the option somewhat hidden).