---
title: "SlidingMenu和ActionBarSherlock学习"
author: "dingran"
date: "2014-11-26T18:42:44Z"
tags: []
categories: ["移动开发"]
slug: "slidingmenu-actionbarsherlock"
draft: false
lastmod: "2014-11-26T19:26:20Z"
id: 2161007
url: "https://dingran.iteye.com/blog/2161007"
---

可以使用于多种设备，可以兼容各个安卓版本。

先下载apk试试：

https://github.com/JakeWharton/ActionBarSherlock/downloads

看着不错。功能强大，定制各种状态栏。

再下载源码编译使用：

https://github.com/JakeWharton/ActionBarSherlock

编译这些工程的时候遇到些问题，不过有这个文章就解决了：

http://blog.csdn.net/lovexieyuan520/article/details/9814273

但是apk安装设备后，点击选项就崩溃了：

com.jeremyfeinstein.slidingmenu.example.ExampleListActivity.onPreferenceTreeClick(ExampleListActivity.java:41)

主要原因是3个工程都引用了suport_v4.jar但是各自的jar又不同，大小和版本都不同，导致的。

目前还在试验。

如果要是直接使用的话，可以参考：

http://blog.csdn.net/loongggdroid/article/details/11085889

SlidingMenu的地址：

https://github.com/jfeinstein10/SlidingMenu

直接使用很方便