Android – how do I import slide menus on IntelliJ idea?
I'm using the idea of IntelliJ. You may know that importing slidingmenu lib into your new project when you run eclipse is very painful. I've done it once, but I'm using the idea of IntelliJ. I wonder if anyone knows how to successfully import and run it when using IntelliJ? This is very important to me
resolvent:
I prepared the sample project using the examples in slidingmenu and actionbarsherlock. You can grab it here to investigate. Open the slidingmenu / sample project in idea and configure the Android 4.1.2 Google API SDK. Build it and run it in the simulator for testing. The trick is to set the dependency correctly and change * activity to Sherlock * activity in several library classes (follow the instructions on the slidingmenu item page)
Dependency settings are 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)