I'm using Android Studio, and as you know, importing libraries used in current IDE
like Eclipse
is not easy with Android Studio. I'm trying to import the slidingmenu
lib into my project but I don't know how to do it well. I've tried as they said in this link How to import slidingmenu on Intellij Idea?
But I failed again. So I hope someone can answer me and show me how it works.
Better yet: Use this https://github.com/jzaccone/SlidingMenu-aar
Just add the following to your build.gradle
repositories {
maven { url "http://jzaccone.github.io/SlidingMenu-aar" }
...
}
dependencies {
compile 'com.jeremyfeinstein.slidingmenu:library:1.3@aar'
...
}
It's slightly out of date - but it's better than AndroidStudio not recognizing the class files (which happened to me), and the fix described here didn't work either: https://stackoverflow.com/a/21170839/1639040