没有在路径上找到类“android.support.v7.internal.widget.TintManager”:DexPathList

我已经将支持库更新到版本23.0.1,并开始收到此错误.

没有在路径上找到类“android.support.v7.internal.widget.TintManager”:DexPathList.

我在应用程序中使用了许多第三方库.这是否会导致此问题?

毕业文件:

apply plugin: 'com.android.application'

repositories {
    mavenCentral()
    maven { url 'http://maven.stickerpipe.com/artifactory/stickerfactory' }
}

android {
    compileSdkVersion 23
    buildToolsVersion '23.0.1'

    defaultConfig {
        applicationId "xxxxxxxxx"
        minSdkVersion 16
        targetSdkVersion 22
        versionCode 1
        versionName "1.0"
        multiDexEnabled true
    }
    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro'
        }
    }
    packagingOptions {
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/LICENSE-FIREBASE.txt'
        exclude 'META-INF/NOTICE'
    }
    dexOptions {
        incremental true
        javaMaxHeapSize "4g"
    }
}

dependencies {
    apply plugin: 'com.google.gms.google-services'
    compile 'com.google.android.gms:play-services:8.1.0'
    compile fileTree(include: ['*.jar'],dir: 'libs')
    compile 'de.hdodenhof:circleimageview:1.2.1'
    compile 'com.android.support:recyclerview-v7:23.0.1'
    compile 'com.android.support:appcompat-v7:23.0.1'
    compile 'com.journeyapps:zxing-android-embedded:3.0.1@aar'
    compile 'com.google.zxing:core:3.2.0'
    compile 'com.android.support:design:23.0.1'
    compile 'com.squareup.picasso:picasso:2.4.0'
    compile 'com.squareup.okhttp:okhttp-urlconnection:2.2.0'
    compile('com.github.ganfra:material-spinner:1.1.0') {
        exclude group: 'com.android.support',module: 'appcompat-v7'
    }
    compile 'com.cesarferreira.colorize:library:0.2.1'
    compile 'com.instabug.library:instabugsupport:1+'
    compile('vc908.stickers:stickerfactory:0.2.2@aar') {
        transitive = true;
    }
    compile 'com.android.support:multidex:1.0.0'
    compile('com.mixpanel.android:mixpanel-android:4.6.4')
            {
                exclude group: 'com.android.support',module: 'appcompat-v7'
            }
}

解决方法

升级到Android Studio 2.0后,我遇到了同样的问题.我更新了不是最新的依赖项,现在它运行正常.

通过交叉引用我们的毕业文件,我相信您需要更新您的设计支持库:

compile 'com.android.support:design:23.1.1'

相关文章

Android 如何解决dialog弹出时无法捕捉Activity的back事件 在...
Android实现自定义带文字和图片的Button 在Android开发中经常...
Android 关于长按back键退出应用程序的实现最近在做一个Andr...
android自带的时间选择器只能精确到分,但是对于某些应用要求...