简体   繁体   English

将游戏源代码导入eclipse adt

[英]Importing game source code into eclipse adt

How to import a git clone into eclipse adt ? 如何将git clone导入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. 我想尝试修改asqare游戏( https://code.google.com/p/asqare/source/checkout ),以便为nexus-5设备创建一个新游戏。 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. 我的磁盘上有一个git的克隆,但是我无法在eclipse中导入/打开该项目以对其进行编辑...请帮助您正确地将该项目导入eclipse adt。

You can do it this way. 您可以这样进行。 In eclipse: 在日食中:

  • File -> Import 文件->导入
  • Git -> Projects from Git, click Next Git->来自Git的项目,单击下一步
  • select Clone URI, Next 选择“克隆URI”,然后单击“下一步”。
  • Location URI: https://code.google.com/p/asqare/ , Next 位置URI: https : //code.google.com/p/asqare/ ,下一个
  • master, Next 主人,下一步
  • Destination Directory: C:... (browse to a place you want), Next 目标目录:C:...(浏览至所需位置),下一步
  • 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: 这将在您指定的位置克隆项目,并将项目导入Eclipse Package Explorer:

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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