Android的ShowcaseView用法 - 无法将其导入到我的项目 [英] Android ShowcaseView Usage - Unable to import it to my Project

查看:282
本文介绍了Android的ShowcaseView用法 - 无法将其导入到我的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我完成了我的应用程序,现在我想添加一个教程。我发现ShowcaseView图书馆,我真的想用它。问题是,该库的进口。结果

I finished my App, and now i want to add a tutorial. I found the ShowcaseView Library and i really want to use it. The Problem is the import of this library.

荫新的这个完整的Andr​​oid / Eclipse的事情,我不知道这整个图书馆的进口究竟是如何工作的。由于我使用花费在互联网上研究一个真正的菜鸟一步一步的指导/进口showcaseview天(意为:下载这个,选择该文件夹,请点击这里,正因为如此,等。),我只找到过时导游并没有很详细的,一切都崩溃。结果

Iam new to this whole Android/Eclipse thing, and i dont know exactly how this whole importing of libraries work. Since i spend days of researching in the internet for a real noob step by step guide using/importing showcaseview (meaning: download this, select this folder, do this, click here, because of that, etc..), i only found outdated guides and not very detailed and everything is crashing.

我所知道的:结果
- 我需要showcasview库结果
- 我需要actionbarsherlock库,但我不知道这在下载的.zip文件中的文件夹是库文件夹结果。
- 我不知道如何导入theselibrary UND我不知道那些库和我的项目之间的依赖关系
结果

What i know:
- I need the showcasview library
- I need the actionbarsherlock library, but i dont know which of the folders in the downloaded .zip is the library-folder.
- I dont know how to import theselibrary und i dont know the dependencies between those libraries and my project

我的项目信息:结果
- 目标API:19结果
- 最小:11结果
- 我的项目包含appcombat-V7 -libray? (它是干什么用的呢?)结果
- 与谷歌包含的API库广告

Information to my Project:
- Target Api: 19
- Min : 11
- My Project contains appcombat-v7 -libray ??? (what is it used for ?)
- and contains google-api library for ad

结果
我会很高兴为所有该库导入/使用一个小的一步一步的指导或解释。


I would be glad for a small step by step guide or explanation for all this library import/usage.

谢谢大家,花时间阅读本。 (可能是它的一个非常愚蠢的问题...:/)

thanks everyone, for spending time reading this. (probably its a very dumb question ... :/ )

推荐答案

第1步下载库文件

http://amlcurran.github.io/ShowcaseView/

第2步提取文件

第3步你会发现两个文件夹,库和示例

step 3 you will find two folders library and sample

第4步作出新的文件夹例如 showcaselib 或任何名称的新名称,并在里面一个名为新文件夹的的src

step 4 make new folder with new name like showcaselib or any name and make inside it new folder with name src

第5步转到库文件夹,你会发现资源和AndroidManifest.xml中文件
           这些文件移动到 showcaselib文件夹并移动COM文件夹(库的\\ src \\主\\ java中)到你的src文件夹(showcaselib \\ SRC)

step 5 goto library folder and you will find res and AndroidManifest.xml files move these files to showcaselib folder and move com folder (library\src\main\java) to your src folder (showcaselib\src)

第六步 impot showcaselib文件夹

第7步选择 showcaselib项目并右击并转到> preference。 - 选择Android的标签
并选择在项目构建目标的是Android 4.4.2
并单击是库

step 7 Select showcaselib project and right click and Goto> Preference. -Select Android tab and chose in project build target Android 4.4.2 and click in Is library

第8步转到项目eclipce选项卡,选择清洁

step 8 goto project tab in eclipce and chose clean

第9步添加 showcaselib 以您的项目通过选择项目并右键单击并转到> preference。 - 选择Android的标签,并从Add按钮右侧点击它会显示你的库项目的列表,您选择您的 showcaselib 项目,并添加它,应用它。

step 9 add showcaselib to your project by Select your project and right click and Goto> Preference. -Select Android tab and from the right side click on Add button which will show you the list of library projects where you select your showcaselib project and add it and Apply it.

*更新:增加actionbarsherlock库*

第9步
从这里下载库 http://actionbarsherlock.com

步骤10
下载后,你会发现** actionbarsherlock文件夹

step 10 after downloaded you will find **actionbarsherlock folder

第11步导入 actionbarsherlock文件夹

第12步选择 actionbarsherlock项目并右击并转到> preference。 - 选择Android的标签
并选择在项目构建目标的是Android 4.4.2
并单击是库

step 12 Select actionbarsherlock project and right click and Goto> Preference. -Select Android tab and chose in project build target Android 4.4.2 and click in Is library

第9步添加 actionbarsherlock **的** showcaselib 通过选择项目并右键单击并转到> preference。 - 选择Android的标签,并从Add按钮右侧点击它会告诉你,你选择** ** actionbarsherlock项目,并添加它,并将其应用库项目的清单。

step 9 add actionbarsherlock ** to **showcaselib by Select your project and right click and Goto> Preference. -Select Android tab and from the right side click on Add button which will show you the list of library projects where you select **actionbarsherlock ** project and add it and Apply it.

步骤13 转到项目eclipce选项卡,选择清洁

step 13 goto project tab in eclipce and chose clean

第14步执行步骤9

这篇关于Android的ShowcaseView用法 - 无法将其导入到我的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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