Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/215.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
java.lang.NoClassDefFoundError:未能解析:Landroid/support/v7/internal/widget/TintManager;_Android_Github - Fatal编程技术网

java.lang.NoClassDefFoundError:未能解析:Landroid/support/v7/internal/widget/TintManager;

java.lang.NoClassDefFoundError:未能解析:Landroid/support/v7/internal/widget/TintManager;,android,github,Android,Github,我找到了一些答案,但没有一个适合我的问题。 当我将这些内容添加到依赖项时: dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:23.0.1' compile 'com.android.support:design:23.0.1' compile 'com.android.support:support-

我找到了一些答案,但没有一个适合我的问题。 当我将这些内容添加到依赖项时:

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:23.0.1'
    compile 'com.android.support:design:23.0.1'
    compile 'com.android.support:support-v4:23.0.1'
    compile 'com.android.support:cardview-v7:23.0.1'

    compile 'com.google.android.gms:play-services-gcm:8.4.0'

    compile 'com.nineoldandroids:library:2.4.0'
}
一切正常,但当我添加以下内容时:

compile 'com.wang.avi:library:1.0.5'
应用程序崩溃并显示此错误。
我尝试使用来自github的代码

'com.wang.avi:library:1.0.5'
依赖于
'com.android.support:appcompat-v7:23.2.0'
。23.2.0和以前的版本(您目前所依赖的其中一个)之间存在一些内部差异

支持库的最新版本是23.3.0,应该是兼容的

如果不行,我可以推荐23.2.1而不是23.2.0

不要忘记更新所有支持库版本:

dependencies {
  compile fileTree(dir: 'libs', include: ['*.jar'])

  compile 'com.android.support:design:23.3.0' // includes appcompat-v7 which includes support-v4
  compile 'com.android.support:cardview-v7:23.3.0'

  compile 'com.google.android.gms:play-services-gcm:8.4.0'

  compile 'com.nineoldandroids:library:2.4.0'
}

'com.wang.avi:library:1.0.5'
依赖于
'com.android.support:appcompat-v7:23.2.0'
。23.2.0和以前的版本(您目前依赖的其中一个)之间存在一些内部差异

支持库的最新版本是23.3.0,应该是兼容的

如果不行,我可以推荐23.2.1而不是23.2.0

不要忘记更新所有支持库版本:

dependencies {
  compile fileTree(dir: 'libs', include: ['*.jar'])

  compile 'com.android.support:design:23.3.0' // includes appcompat-v7 which includes support-v4
  compile 'com.android.support:cardview-v7:23.3.0'

  compile 'com.google.android.gms:play-services-gcm:8.4.0'

  compile 'com.nineoldandroids:library:2.4.0'
}
请参见此处:。由于支持库中有其他错误修复,我建议您将所有依赖项从
23.0.1
移动到
23.2.0
,并查看这是否解决了您的问题。请参见此处:。由于支持库中有其他错误修复,我建议您将所有依赖项从
23.0.1
移动到
23.2。0,然后查看这是否解决了您的问题。