Exception java.lang.NoClassDefFoundError: android.support.v7.appcompat.R$styleable

后端 未结 5 746
长发绾君心
长发绾君心 2021-01-12 18:39

Hi all I am getting a exception while working with support lib. I know lot of question and answer are available in SO but no one work for me

11-27 11:58:15.4         


        
5条回答
  •  误落风尘
    2021-01-12 19:04

    Try to import v7 appcompat with resources for your project rather than directly using .jar file.

    Here is the link for importing appcompat with resources - https://developer.android.com/tools/support-library/setup.html

    If you come across problems in your project after importing v7 appcompat, cross check target sdk version in manifest and set the target sdk version to the latest sdk api version.

    Hope this helps !!

提交回复
热议问题