Android Studio E/dalvikvm: Could not find class… referenced from method

前端 未结 4 1724
一个人的身影
一个人的身影 2020-12-19 08:22

I encountered a problem that seems to have something to do with the libraries in android studio.
I am having compiling errors like:

Could not fi

4条回答
  •  离开以前
    2020-12-19 08:28

    I have faced same issue. The issue is because of difference between android build tools version and the android support library(appcompat) version.

    You can resolve this issue by, Either update your build tool version and support library version to latest or you should use a appcompat library that is lower than the build tools version and change it in your gradle file.

    You can get all the revisions of the support library from here

    For getting and updating your build version and support library version please check build.gradle file inside your app module

提交回复
热议问题