Search code examples
androidandroid-tablayout

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


Since yesterday my app works not because of this error. I've been trying to find a solution but I have not found anything that has been achieved. For all I've modified my build.gradle to been to add two new libraries, but do not think that's the reason for the failure.

build.gradle:

compile 'com.android.support:appcompat-v7:23.1.0'
compile 'com.android.support:recyclerview-v7:23.1.0'
compile 'com.android.support:cardview-v7:23.1.0'
compile 'com.android.support:design:23.1.0' // http://android-developers.blogspot.com.es/2015/05/android-design-support-library.html
compile 'com.android.support:palette-v7:23.1.0'

error log:

java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/internal/widget/TintManager;

Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.internal.widget.TintManager" on path: DexPathList

The error occurs in all fragments where I have a TabLayout.

If any have idea please help me, Thanks in advance.


Solution

  • Finally, I resolved the problem by removing one of the new libraries introduced, did not think that was the problem, but it worked