Eclipse Project to Android Studio detailed

Source: Internet
Author: User
Tags tortoisesvn

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

Related Article

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.