简体   繁体   中英

Importing game source code into eclipse adt

How to import a git clone into eclipse adt ? I want to try and modify the asqare game ( https://code.google.com/p/asqare/source/checkout ) to create a new game for nexus-5 device. I have a clone of the git on my disk, but I can't import/open the project in eclipse for editing it... Please help with the correct procedure for importing this project into eclipse adt.

You can do it this way. In eclipse:

  • File -> Import
  • Git -> Projects from Git, click Next
  • select Clone URI, Next
  • Location URI: https://code.google.com/p/asqare/ , Next
  • master, Next
  • Destination Directory: C:... (browse to a place you want), Next
  • Import existing projects, Next
  • Finish

This will clone the project in the place you specified and will import the project in the Eclipse Package Explorer:

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM