Hello Friends, I am glad to talk with you and share a valuable information about Android with all beginners.
You can download Eclipse IDE from here.
Creating a sample android project involves very few steps
First of all i introduce myself . I am Sawan Kumar, mobile and Web Developer and having worked on PHP,Java and recently switch on Android. As i teach on Android as i share with you.So lets get started with your first basic setup for Android development.
- Step 1: Download and Install the Android SDK
- Download the Android SDK
- Install/Extract the downloaded SDK.
- Go to the directory where you installed the SDK and open SDK Manager to open Android SDK and AVD Manager.
- In AVD manager under Avaliable Packages you can see different versions of SDK’s
- Select SDK versions and Development tools
- Select SDK Platform tools and one of the version of SDK and click on install
- Step 2: Downloading Eclipse
You can download Eclipse IDE from here.
- Step 3: Installing Android Development Toolkit
- Open Eclipse and under Help -> Install New Software.
- Now you will see a window which allows you to install new plug-in.
- Click on Add button and in Name and in Location give the link https://dl-ssl.google.com/android/eclipse/ and proceed with further steps.
- Step 4: Creating Sample Project
Creating a sample android project involves very few steps
- In your Eclipse IDE go to File -> Android Project
- Give Project Name, Select Build Target, Application Name, Package Name, Activity Name, Min SDK version and click Finish.
3. Now you can see bunch of files created in the project explorer.
- Step 5: Creating New Android Virtual Device
The AVD is an emulator which provides you android hardware and software environment to test application on computer.
- In Eclipse open SDK Manager under Windows -> Android SDK and AVD Manager.
2. Click on New on the right side.
3. Give Name, Select Target give SD Card size and click on Create AVD.
4. Now a new AVD is created with the specification you provided and Close the Android SDK and AVD Manager.
- Step 6: Running the Project
- Right Click on the project in Package Explore and click on Run As -> Android Application.
2. Now you can see an AVD is opened and booting up.( It will take much time to launch AVD for the first time).
3. Once the AVD started you can see the output on the AVD screen.