没有项目,发现进口 [英] No projects found to import

查看:145
本文介绍了没有项目,发现进口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找的ePub格式阅读器的Andr​​oid。照片我提到 PageTurner 。得到它的APK下载,它的工作。

I was looking for an ePub reader in android.
I referred PageTurner. Got it's apk downloaded and it worked.

但是,当我下载了它从 github上源$ C ​​$ C (因为它是开源的),并试图导入项目,它提供了一个信息,即未找到要导入即使它指向正确的位置。

But when I downloaded it's source code from github (as it's open source) and tried to Import the project, it gives the message that No Projects found to import even though it's pointing to the correct location.

我搜索上如此相似的问题,但没有得到任何帮助。
我想我错过了图书馆和一些其他的东西,这将使这项工作。需要注意的是文件夹丢失在的 github上的链接。照片我米使用Eclipse靛蓝作为IDE。

I searched for similar questions on SO, but didn't got any help.
I guess I'm missing out libraries and some other stuff that will make this work. Note that bin and gen folders are missing at github link.
I'm using Eclipse Indigo as IDE.

任何想法有什么不对吗?任何帮助AP preciated。

Any idea what's wrong here? Any help appreciated.

1)从建议,我创造了新的项目,并从现有的消息,但它是在code几乎每行给出的错误。

1.) From suggestions, I created new project and imported it from existing source but it's giving errors at virtually every line of code.

有些错误是这样的:

包X1并没有与包X2搭配
类RoboActivity找不到
没有找到方法
@Inject不能被解析为一个类型

Package x1 does not match with package x2
class RoboActivity not found
method not found
@Inject cannot be resolved to a type

2。)究竟是什么,我从下载 Maven的网站

2.) What exactly do I download from Maven site?

哪些库需要从这些

此外,当我试图从指示安装插件,我得到

Moreover, When I tried to install the plugin from instructions, I got

3)。链接可用对于Maven插件,但我无法找到该插件在这里:(

3.) this link is available for Maven Plugin but I can't find the plugin here :(

推荐答案

大更新:我没有意识到,新的ADT喜欢Maven的比旧的就更少了。

Big update: I hadn't realized that the new ADT likes Maven even less than the old one.

让我在这里附和作为PageTurner笔者:我个人不使用Eclipse的Maven插件,但我只是产生一个Eclipse项目MVN蚀:日食

Let me chime in here as the author of PageTurner: personally I don't use the Eclipse Maven plugin, but I simply generate an Eclipse project with mvn eclipse:eclipse.

如果您还没有使用过Maven的,它是一个命令行构建工具类似于Ant(或Unix MAKE)。您可以下载Maven的3浏览: http://maven.apache.org/download.html

If you have never worked with Maven, it's a command-line build tool similar to Ant (or Unix make). You can download Maven 3 here: http://maven.apache.org/download.html

一旦你安装的Maven,导入PageTurner到Eclipse环境的步骤是:

Once you have Maven installed, the steps to import PageTurner into your Eclipse environment are:

  1. 在下载并解压源
  2. 运行

  1. Download and unpack the sources
  2. Run

MVN -Djavax.net.ssl​​.trustStore = trust.jks -Djavax.net.ssl​​.trustStorePassword = pageturner -DexcludeTransitive =真正的依赖性:复制依赖

在源文件夹内

创建一个libs文件夹

Create a libs folder

本质上讲,这完全离开Maven的出局,除非得到的依赖关系。

Essentially this completely leaves Maven out of the game, except to get the dependencies.

这篇关于没有项目,发现进口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆