Error inflating class android.support.design.widget.CoordinatorLayout and ClassNotFoundException: android.support.design.R$styleable

后端 未结 5 487
时光取名叫无心
时光取名叫无心 2020-11-30 13:21

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 Pro

5条回答
  •  北荒
    北荒 (楼主)
    2020-11-30 14:18

    I found the solution for eclipse

    Problem what i faced is R.Java file is not generated under support.design in gen/ folder.

    After doing the below steps R.Java file is generated. Main issue is design library is target to 22. Changing to 23 worked.

    1. Import support design library from \sdk\extras\android\support\design to eclipse workspace.

    2. Open project.properties of AppCompat and design Library and target it to 23

    3. Clean Appcompat, design and YourProject.

    4. Run the app

提交回复
热议问题