Reputation: 15744
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.
Upvotes: 3
Views: 5203
Reputation: 3043
I just want to add my solution if someone doesn't want to use CrazyCoder code. This solution's using IntelliJ on Mac OS X. Here's the steps for noob:
Upvotes: 2
Reputation: 401945
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).
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)
Upvotes: 11