如何运行从GitHub的Eclipse下载演示Android项目? [英] how to run downloaded demo android project from github with eclipse?

查看:570
本文介绍了如何运行从GitHub的Eclipse下载演示Android项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图运行从GitHub下载的演示项目。和里面,它包含演示文件夹(例如: github上项目的)可以用来作为另一种Android项目。我不知道该怎么办好,无论是外部还是内部项目。
我做了什么是:

I'm trying to run a demo project downloaded from GITHUB. And inside it, it contains demo folders (for example: github project) that can be used as another Android project. I don't know how to run neither the outer nor the inner project. What i have done are:


  1. 新增的Andr​​oid库(例如:android.2.2)项目。然而,res文件夹是demo文件夹中,因此外PRJ生成错误味精的SRC是找不到的。

  2. 当我试图通过从现有的code一个新的Andr​​oid项目运行演示项目中,水湿运行,因为缺乏来自外...
  3. 一些库

我客人有一种快速的方法来使它运行。

I guest there is a quick way to make it run.

谁能帮我配置项目来运行它?

Can anyone help me to configure the project to run it?

THX非常感谢!

推荐答案

感谢您的答复。这里是解决方案:

Thanks for the replies. Here is the solution:


  1. 导入内外项目作为Eclipse的机器人项目,我们有他们的2。

  2. 通常情况下,外层是库项目(由带来的属性)和内部项目中使用外作为其库(带内项目的属性时,在Android的 - >被库应该是指外项目(jar文件如果外部成功地建立))

  3. 构建外,平日里的bin文件夹会生成jar文件

  4. 之后,内部可为Android应用程序正常执行

  1. Import both inner and outer project as eclipse android projects, we have 2 of them.
  2. Normally, the outer is the "library" project (check it by bring the property of the project) and inner project use outer as its library (when bring the properties of inner project, in Android--> "Is Library" should refer to outer project (jar file if the outer built successfully))
  3. Build the outer, normally in bin folder will generate the jar file
  4. After that, the inner can be normally executed as Android Application

这篇关于如何运行从GitHub的Eclipse下载演示Android项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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