Step by Step Guide on How To Download And How to Install Android Studio 2.3.3 on Microsoft® Windows®. Installing Android Studio on a Windows is demonstrated with pictures to easily install android studio 2.3.3, android sdk download for windows 7 64 bit and android sdk download for windows 7 32 bit and windows 10.
Freeware
Windows/macOS/Linux
719 MB
177,330
World-class code editing, debugging, performance tooling, a flexible build system, and an instant build/deploy system all allow you to focus on building unique and high quality apps.
Instant Run
Push code and resource changes to your app running on a device or emulator and see the changes instantly come to life. Instant Run dramatically speeds up your edit, build, and run cycles, keeping you 'in the flow.'
Intelligent code editor
Write better code, work faster, and be more productive with an intelligent code editor that helps you each step of the way. Android Studio is built on IntelliJ and is capable of advanced code completion, refactoring, and code analysis.
Android Studio 3.4 Download
Fast and feature-rich emulator
Install and run your apps faster than with a physical device and test your app on virtually any Android device configuration: Android phones, Android tablets, Android Wear, and Android TV devices. The new Android Emulator 2.0 is faster than ever and allows you to dynamically resize the emulator and access a suite of sensor controls.
Robust and flexible build system
Easily configure your project to include code libraries and generate multiple build variants from a single project. With Gradle, Android Studio offers high-performance build automation, robust dependency management, and customizable build configurations.
What's New:
Gradle
IntelliJ
Shrinker (R8)
Previous versions: 3d apps for android download.
Apps similar to Android Studio 1
Introduction
Android is an Operating System for mobile devices developed by Google, which is built upon Linux kernel. Android competes with Apple's iOS (for iPhone/iPad), RIM's Blackberry, Microsoft's Windows Phone, Symbian OS, and many other proprietary mobile OSes.
The latest Android supports Phone/Tablet, TV, Wear (watch and glass), Automobile and Internet of things.
Android Platform
Android is based on Linux with a set of native core C/C++ libraries. Android applications are written in Java. However, they run on Android's own Java Virtual Machine, called Dalvik Virtual Machine (DVM) (instead of JDK's JVM) which is optimized to operate on the small and mobile devices.
In May 2017, Google announced support for Android app development in the Kotlin programming language, supported in Android Studio 3.0. Kotlin will not be discussed in this article.
The mother site for Android is https://www.android.com. For programmers and developers, visit https://developer.android.com to download the SDK, Android Training, API Guides and API documentation.
Installing 'Android Studio IDE' and 'Android SDK'
Installing Android software is probably the most challenging part of this project - for the unlucky ones. It takes times - from 30 minutes to n hours to forever - depending on your luck (in fact, your IT knowledge) and your PC. You probably need a fairly decent PC (with 8GB RAM) and 10GB of free disk space to run the Android emulator!!! Running on actual Android devices (phone, tablet) requires much lesser resources.
Step 0: Pre-Installation Check List
Step 1: Install 'Android Studio IDE'
Reference: 'Install Android Studio' @ https://developer.android.com/studio/install.
(For Windows)
(For Mac OS X)
Step 2: Installing Android SDK
Notes: Adding too many SDK packages, especially the so-called system images for emulating different device (e.g., various phone/tablet), will take an extremely LONG time, especially if everyone is downloading and jamming up the network. The system images also take up a lot of disk space - a few GBytes per API level!!! For our toy project, we only need a small set of SDK packages.
[TODO] Check if it is possible to copy the SDK instead of downloading the 1GB during installation?
(For Windows)
(For Mac OS X)
Write your First Android App
Android apps are written in Java, and use XML extensively. I shall assume that you have basic knowledge of Java and XML.
Take note that Android emulator is slow - VERY VERY VERY SLOW!!! Be Patient!!! Opera mini app download for windows phone.
Hello-WorldStep 0: Read
Goto 'Android Guides' @ https://developer.android.com/guide/index.html. Read 'Building your first app'.
Step 1: Create a New Android Project
Step 2: Setup Emulator (aka Android Virtual Device (AVD))
To run your Android app under the emulator, you need to first create an Android Virtual Devices (AVD). An AVD models a specific device (e.g., your jPone or Taimi). You can create AVDs to emulate different android devices (e.g., phone/tablet, android version, screen size, and etc.).
Step 3: Run the Android App on Emulator
Common Errors:
Step 4: Run the Android App on Real Devices
Reference: 'Running Your App', 'Run on Real Device' @ https://developer.android.com/training/basics/firstapp/running-app.html#RealDevice.
To run the Android app on a REAL device (Android Phone or Tablet):
Deleting a Project
To delete a project, select 'File' ⇒ 'Close Project' ⇒ On the 'Recent Projects' ⇒ Hover over the project ⇒ Press 'Delete' key on the project to remove the project from Android Studio ⇒ You can then delete the project directory from the file system.
Hello-world 'by Coding'
There are two ways to create User Interface (UI) on Android: (1) Write Java codes; (2) Layout via XML descriptions and let the system generates the Java code for you.
Let's begin with writing Java codes (because I suppose to teach you programming). We shall continue from the 'Hello Android' project created earlier.
MainActivity.java
Expand the '
app ' node. Expand the 'java ' node. Expand the 'com.example.helloandroid ' package node. Open the 'MainActivity.java ' (which actually has already been opened). REPLACE the onCreate() method as follows and add the import statement. Do not touch the rest of the codes.
Run the application ('Run' ⇒ 'Run app'). You shall see the message 'Hello, from my Java code!' displayed.
Dissecting the 'MainActivity.java' - Application, Activity & View
An Android application could have one or more
Activity .
An
Activity , which usually has a screen, is a single, focused thing that the user can interact with the application (hence called activity). The MainActivity extends the android.app.Activity class (or android.support.v7.app.AppCompatActivity in the later version), and overrides the onCreate() method. The onCreate() is a call-back method, which is called back by the Android system when the activity is launched.
A
View is a UI component (or widget, or control). We construct a TextView (which is a subclass View for showing a text message), and set its text. We then set the content-view of the MainActivity screen to this TextView .
Android Application Descriptor File - 'AndroidManifest.xml'
Each Android application has a manifest file named
AndroidManifest.xml under 'app' ⇒ 'manifests'. It describes the Android app.
For example, our '
Hello Android ' application, with an activity called MainActivity , has the following manifest (generated automatically by the Android Studio when the project was built):
Hello-World using 'XML Layout'
Instead of writing Java codes to create the user interface (UI) (as in the above example using a
TextView component). It is more flexible and therefore recommended to layout your UI components via a descriptive XML layout file. In this way, you don't need to hardcode the views, and you can easily modify the look and feel of the application by editing the XML markups. The Java codes can therefore focus on the business logic.
Let's rewrite our hello-world to use XML layout.
Step 1: Create a New Android Application
CLOSE the previous project, via 'File' ⇒ 'Close Project' (Always CLOSE the previous project before starting a new project).
Download Sdk Folder For Android Studio 3.2.1 Version
'Start a new Android Studio project' ⇒ 'Phone and Tablet' ⇒ 'Empty Activity' ⇒ Set 'Name' to '
Hello Android XML '.
Step 2: Define the Layout in XML - 'reslayoutactivity_main.xml'
Expand the 'app', 'res (resource)', 'layout' node. Open the '
activity_main.xml ' (which is actually already opened). Android Studio provides two views for this XML file: 'Design (or Graphical)' and 'Text (or XML)' - selectable at the bottom of the panel.
Select the 'Text' mode and study the codes:
It declares a
TextView (text field) that holds a text string 'Hello World! '. The TextView component has width and height big enough to hold its content ('wrap_content ').
Step 3: Defining String References and Values - 'resvaluesstring.xml'
Instead of hardcoding the Hello-World string directly inside the
TextView (as in the above XML file), we shall use a string reference (similar to a variable) for better flexibility.
Expand
res/values node. Open strings.xml , and ADD the line in red:
This '
string.xml ' defines 2 references/values:
Now, modify the '
activity_main.xml ' to use the string reference 'hello ', in the format '@string/hello ', as follows:
Step 4: The Activity - 'MainActivity.java'
Next, check the '
MainActitivy.java ' (under app/java/com.example.helloandroidxml ), as follows:
The '
MainActivity ' sets its content-view to 'R.layout.activity_main ', which is mapped to the XML layout file 'reslayoutactivity_main.xml ' that we have modified earlier.
Step 5: Run the App
Run the application. You shall see the new string '
Hello, from XML! ' displayed.
REFERENCES & RESOURCES
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |