无法找到" it.neokree:MaterialTabs:0.11" android studio依赖项错误

时间:2015-05-11 12:46:36

标签: android

我应用了以下库依赖项,在我的android工作室中只使用com.android.support:appcompat-v7:21.0.+这样和所有google依赖项。如果我应用私有库依赖项,如下所示

Failed to find:it.neokree:MaterialTabs:0.11![Failed to find library dependencies in build.gradle android studio][1] 

     compile fileTree(dir: 'libs', include: ['*.jar'])
     compile 'com.android.support:appcompat-v7:21.0.+'
     compile 'com.android.support:recyclerview-v7:21.0.+'
     compile 'org.lucasr.dspec:dspec:0.1.1'
     compile 'it.neokree:MaterialTabs:0.11'
     compile 'com.mcxiaoke.volley:library:1.0.+'
     compile 'com.telly:mrvector:0.2.0'
     compile 'com.oguzdev:CircularFloatingActionMenu:1.0.2'
     compile 'me.tatarka.support:jobscheduler:0.1.1'
     compile 'jp.wasabeef:recyclerview-animators:1.1.0'
     compile 'com.nineoldandroids:library:2.4.0'
     compile 'com.daimajia.easing:library:1.0.1@aar'
     compile 'com.daimajia.androidanimations:library:1.1.3@aar'
     compile 'com.pkmmte.view:circularimageview:1.1'
     compile 'com.android.support:gridlayout-v7:22.0.0'

}

Failed to find library dependencies in build.gradle android studio.

我研究了很多次并尝试了很多方法。但是我无法找到解决方案。我不知道这是工作室的问题,或者我的公司为了安全而阻止了一些防火墙证书。我想要解决方案紧急。请有人解决这个问题并帮助我。目前我只使用jar文件。如果我通过libs文件夹使用jar文件那么eclipse和android studio /

之间有什么不同之处

1 个答案:

答案 0 :(得分:0)

再次尝试同步gradle并检查您是否可以链接到此页面: man page

如果你不能,可能是防火墙问题。

某些依赖项可能已过时。

我帮助您使用https://jcenter.bintray.com/it/neokree/MaterialTabs/maven-metadata.xml

同步最新版本
Model:
    defs+=Def*
    uses+=Use*
    ;

Def:
    ADef | BDef;

ADef:
    "adef" name=ID
;

BDef: 
    "bdef" name=ID
;

Use:
    "use" def=[Def]
;