简体   繁体   English

导入Android现有项目错误

[英]Import Android Existing Project Error

I'm trying to import ActionBar-PullToRefresh library in my workspace. 我正在尝试在我的工作区中导入ActionBar-PullToRefresh库。

I clone project from github. 我从github克隆项目。 After that I try to import pic.1. 之后,我尝试导入pic.1。

在此处输入图片说明

I got error like this, 我有这样的错误,

在此处输入图片说明

And added just one project into Eclipse. 并且仅将一个项目添加到Eclipse中。

Therefore I couldn't start project. 因此,我无法启动项目。 What should I do for fix this problem ? 我该怎么办才能解决此问题?

Regards, Emre. 问候,埃姆雷。

You already have a project (check the left hand side of the second image) called MainActivity . 您已经有一个名为MainActivity的项目(检查第二个图像的左侧)。

Thus, a quick fix would be to change the name of that project to a more descriptive one. 因此,一种快速的解决方案是将该项目的名称更改为更具描述性的项目。 :) :)

-- -

Side note: You should consider moving to Android Studio and using Gradle for your dependency management. 旁注:您应该考虑移至Android Studio并使用Gradle进行依赖项管理。

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

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