The problem is, your project is missing the raster resources for pre-lollipop versions. Check, if you have file values/drawables.xml. It seems like you copied some source, but not this file. The file contains references to raster images, that are used as alternatives to the vector images:


<resources xmlns:android="http://schemas.android.com/apk/res/android">

<item name="ic_menu_camera" type="drawable">@android:drawable/ic_menu_camera</item>

<item name="ic_menu_gallery" type="drawable">@android:drawable/ic_menu_gallery</item>

<item name="ic_menu_slideshow" type="drawable">@android:drawable/ic_menu_slideshow</item>

<item name="ic_menu_manage" type="drawable">@android:drawable/ic_menu_manage</item>

<item name="ic_menu_share" type="drawable">@android:drawable/ic_menu_share</item>

<item name="ic_menu_send" type="drawable">@android:drawable/ic_menu_send</item>

</resources>



Android lollipop(5.0) 이하 버전에서는 values 폴더에 drawables.xml 파일에 위의 코드가 추가 되어야지

정상적으로 실행이 되어진다.



출처 : https://stackoverflow.com/questions/35673722/binary-xml-file-line-16-error-inflating-class-android-support-design-widget-na

Posted by 모과이IT
,