Try using Android Studio recently. There are some features that are far from eclipse several streets, but the temporary use is not skilled enough, first of these two days to do the project migration of a little experience to do some summary.
The project migration, which is said here, refers to migrating projects from the Eclipse environment to Android studio. Android Studio has the option to provide import items from eclipse. This people should be very easy to find, here does not map. Assuming your project does not include any third-party libraries, then your Android studio will be able to directly convert your project to success without our additional changes. If your project includes a third-party library, then you need to make some changes.
Let's talk about third-party dependency libraries. Generally there are two types, one is to include the resource file, one is not including the resource file, the latter can be directly into the jar package. In the Libs directory, the former needs to be introduced in the form of a library project. (the "Is Library" option, children's shoes developed under eclipse should be very familiar).
According to the above statement, first make a small summary, in the Android Studio Project migration, the situation is divided into the following several
1, no third-party dependent libraries: direct import can
2, for "third-party dependent libraries without resource files": Place the jar package directly in the Libs directory, or use Gradle.
3, for "third-party dependent libraries including resource files": Import these libraries as module. or use Gradle.
Of course, when using Gradle. The authors who need to rely on the library have uploaded the code to Jcenter or maven.
Here's how to import module.
1. Right-click the project--project structue
2, click "+" to join the module
3. To the ' app ' under Dependency, set the module you just introduced as a dependent library.
The small problem I encountered:
When I took all the support library dependencies, I still reported the "duplicated class" error, and found that the internal classes of some classes were extracted from Android studio and deleted.
Android Studio Project Migration Summary