如何为Beacon的Android库构建示例项目? [英] How to Build the sample project for Android library for Beacon?

查看:107
本文介绍了如何为Beacon的Android库构建示例项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试构建Radius Networks提供的以下示例项目,以将信标集成到Android中。该项目的链接如下:
示例项目

I am trying to build the following sample project provided by the Radius Networks for integrating beacon in Android. The link for the project follows: sample project

但是问题是我无法构建该项目。请说明这样做的步骤。
预先感谢。

But the problem is that I am not able to build the project. Please explain the steps to do so. Thanks in advance.

注意-我正在使用带有ADT插件的Eclipse IDE来构建应用程序。
错误消息-缺少Android Beacon库。

Note - I am using Eclipse IDE with ADT plugin for building the app. The error says - "Android Beacon Library is missing".

推荐答案

在使用Eclipse时,您需要Android iBeacon库作为IDE中的独立库项目导入。完成此操作后,您必须将使用该库的项目(或您的情况下的示例项目)指向该库项目。

When using Eclipse, you need to have the Android iBeacon Library imported as a separate library project in the IDE. Once this is done, you must point your project that uses the library (or the sample project in your case) at this library project.

首先,下载Android iBeacon库对于Eclipse是tar.gz格式。下载页面在这里: http://altbeacon.github.io/android-beacon -library / download.html

First, download the Android iBeacon Library in the tar.gz format for Eclipse. The download page is here: http://altbeacon.github.io/android-beacon-library/download.html

一旦有了,请按照以下说明在项目中配置库的完整说明: http://altbeacon.github.io/android-beacon-library/configure.html

Once you have that, follow the full instructions on configuring the library with your project here: http://altbeacon.github.io/android-beacon-library/configure.html

这篇关于如何为Beacon的Android库构建示例项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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