[英]How to import slidingmenu on Intellij Idea?
I'm using intellij idea. 我正在使用intellij的想法。 As you may know, importing slidingmenu lib into your brand new project is painfully while you're running on eclipse.
您可能知道,当您在eclipse上运行时,将slidemenu lib导入到您的全新项目中会很痛苦。 I did it once but I am using intellij idea anymore and I wonder that is there anybody know how to import and run it succesfully while using Intellij?
我曾经做过一次,但我正在使用intellij想法,我想知道有没有人知道如何在使用Intellij时成功导入和运行它? It is very important to me.
这对我来说非常重要。
I've prepared the sample project using example
from the SlidingMenu
and ActionBarSherlock
. 我准备用示例项目
example
从SlidingMenu
和ActionBarSherlock
。 You can grab it here for investigation. 你可以在这里抓住它进行调查。 Open
SlidingMenu/example
project in IDEA and configure Android 4.1.2 Google APIs SDK. 在IDEA中打开
SlidingMenu/example
项目并配置Android 4.1.2 Google API SDK。 Build, run in the emulator to test. 构建,在模拟器中运行以进行测试。 The trick was to set the dependencies properly and to change
*Activity
to Sherlock*Activity
in several library classes (per instructions on the SlidingMenu project page). 诀窍是正确设置的依赖关系,并改变
*Activity
,以Sherlock*Activity
在几个类库(每指令SlidingMenu项目页)。
Dependencies are set as follows: 依赖关系设置如下:
example (main app)
library (SlidingMenu)
abs (ActionBarSherlock) (make sure Export is enabled)
android-support-v4.jar (make sure Export is enabled)
junit (for ActionBarSherlock tests)
I just want to add my solution if someone doesn't want to use CrazyCoder code. 如果有人不想使用CrazyCoder代码,我只想添加我的解决方案。 This solution's using IntelliJ on Mac OS X. Here's the steps for noob:
此解决方案在Mac OS X上使用IntelliJ。以下是noob的步骤:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.