2016-07-22 12 views
1

エラー: アンドロイド{java.lang.NoClassDefFoundErrorが:android.support.v7.internal.widget.TintManager

compileSdkVersion 23 
buildToolsVersion "23.0.2" 
useLibrary 'org.apache.http.legacy' 
defaultConfig { 
    applicationId "com.inn.microwave" 
    minSdkVersion 16 
    targetSdkVersion 23 
} 

依存性:

java.lang.NoClassDefFoundError: android.support.v7.internal.widget.TintManager at android.support.design.widget.TextInputLayout.setError(TextInputLayout.java:379)

はGradleのファイルをビルドします。

dependencies { 
    compile fileTree(dir: 'libs', include: ['*.jar']) 
    compile 'com.android.support:design:23.0.1' 
    compile 'com.android.support:appcompat-v7:23.1.0' 
    compile 'com.android.support:support-v4:23.0.1' 
    compile 'com.google.code.gson:gson:2.2.4' 
    compile 'com.android.support:recyclerview-v7:23.1.1' 
    compile 'com.android.support:cardview-v7:23.1.1' 
} 

答えて

1

すべてのサポートライブラリは同じバージョンでなければなりません。 appcompat-v7とsupport-v4のいずれかを23.0.1に変更するか、またはデザインを23.1.1に変更してみてください。

関連する問題