[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
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