Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to import slidingmenu on Android Studio?

Tags:

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.

like image 375
bengous Avatar asked Sep 29 '13 14:09

bengous


People also ask

How do you import Pydroid?

Just make sure your module is saved in the same folder first the just type From followed by the name of your module and import your function then you can just print or do what ever you want with the module. Also you can just import the whole module by importing it.

What is import Android studio?

Import as a Project: Start Android Studio and close any open Android Studio projects. From the Android Studio menu click File > New > Import Project. Alternatively, from the Welcome screen, click Import project (Eclipse ADT, Gradle, etc) Select the Eclipse ADT project folder with the AndroidManifest.


1 Answers

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

like image 56
Tspoon Avatar answered Dec 18 '22 04:12

Tspoon