错误膨胀类 android.support.design.widget.CoordinatorLayout 和 ClassNotFoundException: android.support.design.R$styleable [英] Error inflating class android.support.design.widget.CoordinatorLayout and ClassNotFoundException: android.support.design.R$styleable

查看:21
本文介绍了错误膨胀类 android.support.design.widget.CoordinatorLayout 和 ClassNotFoundException: android.support.design.R$styleable的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个具有滑动功能的 Tab 应用程序.我正在使用 Eclipse 进行开发.我已经通过属性将 support design library 作为 Library 导入.在运行期间,我不断收到此错误Error inflating class android.support.design.widget.CoordinatorLayout".

I am developing an app which have Tab with swipe functionality. I am using Eclipse to develop. I have imported the support design library as Library through Property. During run, i am keep getting this error "Error inflating class android.support.design.widget.CoordinatorLayout".

  1. 首先我添加了 android support design.jar 并尝试过,但它不起作用
  2. 我通过Java build path添加了support design libraryclass.jar文件,没有用
  3. 最后,我使用 Properties->Android->Add Librarysupport design library 作为库导入,这也不起作用
  4. 我将父主题用作Theme.AppCompat.Light.DarkActionBar"
  1. First i added android support design.jar and tried, which is not working
  2. I added the class.jar file of support design library through Java build path which is not worked
  3. Finally i imported the support design library as Library using Properties->Android->Add Library this also not working
  4. I am using the Parent theme as "Theme.AppCompat.Light.DarkActionBar"

"