First Step: Project Import
There are two ways to import a project to as (in fact, one).
Method One: It is gradle (1) in Eclipse, then open as, locate the Gradle file in the project and import directly.
Method Two: Directly in the as to find the project, directly imported. (2)
Figure 1
Figure 2
Step Two: Project initialization
Once the project is imported, it needs to be adjusted to a state that can be used. Here is an introduction to the project with the jar package under the Libs file.
Home get the item into the Eclipse directory style we're accustomed to (3)
Figure 3
Then, we need to process our jar package, and the jar package is called the dependency package in as, so we're going to add this dependency.
4
ways to process. So files:
Locate the Build.gradle file in the project and add the following sentence: 5
Jnilibs.srcdirs = [' Libs ']
Figure 5
After the project is imported, be careful to change this thing under the Build.gradle file:
Dependencies { 'com.android.tools.build:gradle:2.1.2' }
Also, changes that need to be made under the Wrapper-gradle-wrapper.properties file under the Gradle file
Distributionurl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
Step Three: Add version management tools.
Download a tortoiessvn. : Http://jaist.dl.sourceforge.net/project/tortoisesvn/1.9.4/Application/TortoiseSVN-1.9.4.27285-x64-svn-1.9.4.msi
You need to be aware of 6 when installing
Figure 6
Additionally, you need to install a VISUALSVN server. Used to manage SVN repositories.
Build the warehouse and copy the address. Prepare for it. 7
Figure 7
Open as
Then, the item is checked out.
Eclipse Project to Android Studio detailed