1. 程式人生 > >java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7

java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7

用tablayout 報錯

gradle依賴如下:

compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.0.1'
問題是v7和design版本不一致  改成一樣的搞版本就好