Install Android SlidingMenu Library

I am trying to complete this tutorial.

The goal is to integrate SlidingMenu android library. In accordance with the instructions in the textbook:

For a non-maven project: Copy library / target / slidemenu-1.3-SNAPSHOT.jar to the libs directory of your project.

I do not know how to use Maven, and I do not want to introduce another level of complexity.

So, can someone tell me where to find the library / target / slidemenu-1.3-SNAPSHOT.jar file?

UPDATE:

With the exception of the Maven section, I completely completed the tutorial, but got the following single error:

slidingmenu cannot be resolved or is not a field

The error is caused by this line of code:

slidingMenu.setMenu (R.layout.slidingmenu);

I am new, but I know that the problem is with the missing resource. I do not know if this is due to the Maven problem.

Any suggestions on how to fix this would be greatly appreciated.

+8
android eclipse slidingmenu
source share
1 answer

Thus, without a maven implementation, all you have to do is download this library from your github link ( here ). It is only 4.4 MB.

On this github page there should be a button that says " Download ZIP ".

After saving the zip file, open the zip file and move the contents ... inside the library folder, you can find the source files of the SlidingMenu solution.

The FAST way to get this into your project is to copy the contents of the libs , res and src folders to the appropriate folders in your project.

The SlidingMenu project in github cannot be just a .jar file, as it contains visual objects (i.e. elements in the / res folder are needed).

Another approach is to create a separate project on your computer called SlidingMenu (create it as a library project), and then include this project in your own project as a dependency. The way this is needed depends on the IDE (Eclipse, IntelliJ, AndroidStudio, etc.). Hope you are using one of these IDEs.

+11
source share

All Articles