Class android.support.v4.widget.Space 未找到

Class android.support.v4.widget.Space is not found

我从 github 存储库克隆了一个项目到我使用 class android.support.v4.widget.Space 的个人计算机上,我正在尝试 运行 但它总是提供我同样的错误:

Error:(6, 33) error: cannot find symbol class Space

在我的 gradle.build 中,我有以下依赖项:

compile files('libs/pinit-sdk-1.0.jar')
compile project(':bounceScroller')
compile 'com.ogaclejapan.smarttablayout:library:1.2.1@aar'
compile 'com.facebook.android:facebook-android-sdk:4.1.0'
compile 'com.android.support:appcompat-v7:21.0.3'
compile 'com.github.navasmdc:MaterialDesign:1.5@aar'
compile 'com.nineoldandroids:library:2.4.+'
compile 'com.esri.arcgis.android:arcgis-android:10.2.6-2'
compile 'com.github.clans:fab:1.5.3'
compile 'com.github.pedrovgs:draggablepanel:1.8'
compile 'com.android.support:support-v4:21.0.3'
compile 'com.ogaclejapan.smarttablayout:utils-v4:1.2.1@aar'
compile 'com.github.bumptech.glide:glide:3.6.0'
compile project(':rangeseekbar')
compile 'com.android.support:recyclerview-v7:21.0.3'
compile 'com.android.support:cardview-v7:21.0.3'
compile project(':blurry')

我尝试搜索 google,发现 class Space 存在于 android 支持库中,有人知道如何解决这个问题吗?

将您的 support-v4 依赖项从 21.0.3 升级到 22.1.0,因为它是在该版本中添加的。

http://developer.android.com/tools/support-library/index.html#revisions