如何在IntelliJ IDEA的导入slidingmenu? [英] How to import slidingmenu on Intellij Idea?

查看:139
本文介绍了如何在IntelliJ IDEA的导入slidingmenu?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用的IntelliJ IDEA。正如你可能知道,进口 slidingmenu lib放到你的品牌的新项目是痛苦你在Eclipse上运行时。我做到了一次,但我用的IntelliJ IDEA的了,我不知道这是否有任何人知道如何导入并运行它成功地在使用的IntelliJ?这对我来说很重要。

I'm using intellij idea. As you may know, importing slidingmenu lib into your brand new project is painfully while you're running on eclipse. 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? It is very important to me.

推荐答案

我已经用例如prepared示例项目 SlidingMenu ActionBarSherlock 。您可以抓住它这里进行调查。在IDEA打开 SlidingMenu /例子项目并配置的Andr​​oid 4.1.2谷歌的API SDK。建立,在模拟器中进行测试运行。诀窍是正确设置的依赖,改变 *在几个库类的活动歇洛克·活动(每个指令在SlidingMenu项目页)。

I've prepared the sample project using example from the SlidingMenu and ActionBarSherlock. You can grab it here for investigation. Open SlidingMenu/example project in IDEA and configure Android 4.1.2 Google APIs 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).

依赖设置如下:

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)

这篇关于如何在IntelliJ IDEA的导入slidingmenu?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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