eclipse 导入git库 Android工程

1. 导入git库

1.1 从git库 clone 代码

在file->import中选中Git 目录下的Projects from Git 点击Next

image

选择 URL 点击Next

image

输入URL 和 User 和 Password 点击next

image

完成导入

1.2 copy工程文件

从其他Android工程的目录下copy “.classpath”和 “.project”文件到自己的工程目录下并替换原来的文件。

image

2. 如果遇到这个问题

Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please fix project properties 

解决方案:

项目 右键 ->android tools ->Fix Project

posted @ 2015-04-21 10:16  Android小能手  Views(301)  Comments(0Edit  收藏  举报