First, Introduction
Many Android developers are lamenting that Android development is not a dedicated software to use, unlike iOS has XCODE,WP vs. Generally Android development is eclipse or ADT or IntelliJ idea. Later, finally, Haha, with Android Studio. Called "Biological" Android development IDE, I used a period of time, found that the function is really powerful, explosion eclipse and other development tools, the biggest highlight is " code hints " and " Live Preview Layout " two pieces.
The official website says Android Studio has many benefits:
- Build support based on Gradle
- Android specific refactoring and quick fixes
- Richer template code, making it easier to create a program
- Better hints tool for capturing control of program performance, availability, version compatibility, and other issues
- Direct support for Proguard and application signing features
- Comes with a layout editor that lets you drag and drop UI components to preview layouts on different configurations of the screen
- Built-in Google Cloud services
- Built-in Svn,git tools
- Support for plug-in installation
All in all, this is Google's own out of the IDE, definitely support for Android development is excellent. First put a picture and look at the interface.
second, use-Create Project
The directory organization structure in Android Studio is very different from that in eclipse. The concept of project in Android Studio is similar to the concept of working space (workspace) in Eclipse. The module in as is equivalent to a project in eclipse.
Here's how to create a project and get started:
Click File--Create new project
Enter the name of the application, company domain, and project location. Then the next step:
Select the platform and the minimum version of the SDK. Click Next:
You can see that Android Studio provides templates for many interfaces to choose from, select a template, and then click Next:
Set up information about the activity. Click Finish to complete the creation of a project.
iii. exporting projects from Eclipse to Android Studio
Select File-and export in Eclipse and select Generate Gradle build files under Android
After Next,next, select the project you want to export, then next, finish.
Then, in Android Studio, select File, Import project. Follow the above steps everywhere in the project directory, will generate a build.gradle file, this time you need to select this file, and then click OK.
This concludes the Eclipse export project to Android studio.
iv. installation of Genymotion plug-in
The first experience of Android studio----very good and powerful