[Original] Intellij IDEA for Android development, I wish you an early departure from the bitter sea of eclipse, intellijandroid

Source: Internet
Author: User

[Original] Intellij IDEA for Android development, I wish you an early departure from the bitter sea of eclipse, intellijandroid

This article is suitable for Android Developers who use Intellij IDEA for the first time.

Including: first plug-in installation, SVN basic use, project configuration, JAR package configuration, Android lib project configuration, run debugging, basic and most commonly used function description, development tool conversion cost is zero

If you are using eclipse and are used to the shortcut keys, IDEA has a one-click conversion to eclipse shortcut keys.

If you are using eclipse, you can't stand the index of the turtle speed, you can't stand a lot of occupied memory, and it will still get stuck.

Even if you are in the middle of the project, no problem, turn around and there is no cost

It is estimated that you will not go back.

 

Add Android plug-in

InFirst InstallationSelect during the process, orInstallation CompleteIn the future, choose Settings> Plugins to install the plug-in:

Import SVN Project

  • Import SVN Project

SVN change information, submission, update, and merge

The two buttons are used to update and submit. The most common toolbar shortcut menu saves the synchronization in the eclipse plug-in and directly submits the update. During the update, svn is automatically merged to manually resolve the conflict.

Run debugging

  • On the menu bar, you can set running configurations and target devices.

Quick toolbar running

Project Settings

Set dependency packages

Runtime information

Debugging


How to import an ECLIPSE android project to intellij IDEA

File-> New Project-> Import project from external model all the way,
Then F4 open the Project structure, switch to the Facets page, and Add android. You can do it all the way.
 
For those who are familiar with the shortcut keys of eclipse, IntelliJ IDEA is hard to use.

I switched it from eclipse. intellij idea can be set to eclipse shortcut style, which may be somewhat different. Just configure it as needed. Set the shortcut key and open the settings (CTRL + ALT + S) to search for keymap

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.