Android is undoubtedly the most popular mobile platform in the world. Each day hundreds of applications are designed for Android powered smartphones and tablets using Google Android Studio . Google seems to be on a mission to improve upon this open source platform and deliver a killer blow to its competitors. At the annual Google I/O the company made an announcement that has ensured that Android development has got easier. Google has introduced Android Studio the new development environment is based on IntelliJ IDEA. Android Studio has lot of similarities to Eclipse with the ADT Plugin and it offers developers an integrated set of tools for development and debugging.
What makes this special is the fact that this new environment works under the WYSIWYG model. It allows you to create powerful apps in no time by letting you make changes and preview them in real time thus boosting your productivity. This also comes with a wide variety of emulators that allow you to preview apps even when you do not have a device in your hand. With this new build system you will be build your projects not only on the IDE but also on integrations servers.
Highlighting Features of Android Studio
- Android Studio makes use of a new system on Gradle that provides flexibility, allows customized build flavors, dependency resolution, and much more.
- It includes advanced code refactoring feature that allows you to transform your code across the scope of the entire project, quickly and safely. This is something that Android developers around the world were carving for as this can reduce development time considerably.
- Platform specific refactoring and quick fixes making native application development easy and enhancing their performance.
- It comes with Lint tools that make the applications catch performance, usability, version compatibility and other problems.
- All apps developed with Android Studio will be protected using It also has ProGuard and app-signing capabilities. This prevents that prevents reverse engineering and duplication of applications.
- Android Studio offers template-based wizards to create common Android designs and components. This is helpful for new developers as it allows them to quickly adapt to the ecosystem.
- With the help of the rich layout editor developers can easily to drag-and-drop UI components, preview layouts on multiple screen configurations. This will allow developers to make use of richer GUI that will add to the appearance and functionality of the apps.
Installing Android Studio
To install this development environment you need download the Android Studio package from the official website. The installation procedure for this package varies depending on your operating system and we shall take a look at procedure of installation in different operating systems.
Run downloaded EXE file, android-studio-bundle-.exe and follow the instructions that the Setup Wizard offers. In some Windows based workstation the launcher script faces issues in finding where Java is installed. If you are encountering this problem you might need to specify the location of Java to complete the installation. To do so go to Start menu > Computer > System Properties > Advanced System Properties and in the Advanced tab go to Environment Variables and add new system variable JAVA_HOME pointing to your JDK folder.
Mac OS X:
If you want to install the package on Mac OS X start by opening the downloaded DMG file, android-studio-bundle-.dmg. Once done drag and drop Android Studio into the Applications folder. Some users might witness a warning that the package is damaged and must be moved to thrash. Don’t worry just go to System Preferences > Security & Privacy where you will find ‘Allow applications downloaded from’ and select ‘Anywhere’ and it will work fine.
To install this package in Linux you will need to start by unpacking the Tar file, android-studio-bundle-.tgz and choose an appropriate location for your application. Navigate to android-studio/bin/ directory in a terminal and execute studio.sh to launch Android Studio. You can also add android-studio/bin/ to your PATH environmental variable to start with this tool from your directory.
Starting A Project
Once this package has been installed starting with a new application development project is pretty easy. All that you need to do is click on New Project. If you are planning use a set of app templates you can make use of the New Project wizard. Android Studio also allows you to import a preexisting project and make changes to it. To do so you will need to click on Import Projects.
Android Studio is a big step forward in the Android development industry. For seasoned developer this would seem like a cakewalk compared to tools and environments of the past. For first time developers it is easy to start a new project from scratch and create a robust application. It will result is better applications for the platform and also help it widen the game between itself and other mobile operating platforms in the world.