How to import slidingmenu on Android Studio?

前端 未结 5 1794
醉酒成梦
醉酒成梦 2020-12-04 20:30

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 im

5条回答
  •  独厮守ぢ
    2020-12-04 21:01

    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

提交回复
热议问题