Skip to content Skip to sidebar Skip to footer

Android.view.inflateexception: Binary Xml File Line #2: Binary Xml File Line #2: Error Inflating Class Android.support.design.widget.coordinatorlayout

Got this error when trying to run the app in Nexus 5x. Below is the stack: 04-16 22:41:37.083 23199-23199/au.com... E/AndroidRuntime: FATAL EXCEPTION: main

Solution 1:

add compile 'com.android.support:design:23.2.1' to build.gradle to resolve

dependencies {
   compile fileTree(dir: 'libs', include: ['*.jar'])
   testCompile 'junit:junit:4.12'compile'org.apache.httpcomponents:httpclient:4.5'compile'com.loopj.android:android-async-http:1.4.9'compile'com.android.support:appcompat-v7:23.2.1'compile'com.android.support:design:23.2.1'
}

remember to change 23.2.1 to the build version you are using

Post a Comment for "Android.view.inflateexception: Binary Xml File Line #2: Binary Xml File Line #2: Error Inflating Class Android.support.design.widget.coordinatorlayout"