Didn't find class “android.support.v7.internal.widget.TintManager” on path: DexPathList

前端 未结 6 998
心在旅途
心在旅途 2020-12-17 20:53

I have updated support libraries to version 23.0.1 and started getting this error.

Didn\'t find class \"android.support.v7.internal.widget.TintManager\" on p

6条回答
  •  情话喂你
    2020-12-17 21:17

    Somebody answered to set higher version while somebody says lower version. This is because gradle uses upper version silently even if you defined as 23.1.1. (At this time, it uses 24.0.1 to compile)

    I recommend you to check correct version is involved by gradlew app:dependencies -q command.

    To fix its upper version handover, set force = true to all of support libraries as below.

    compile ('com.android.support:support-v4:23.1.1'){
        force = true;
    }
    compile ('com.android.support:appcompat-v7:23.1.1'){
        force = true;
    }
    compile ('com.android.support:design:23.1.1'){
        force = true;
    }
    compile ('com.android.support:cardview-v7:23.1.1'){
        force = true;
    }
    compile ('com.android.support:recyclerview-v7:23.1.1'){
        force = true;
    }
    

提交回复
热议问题