Didn't find class on path: dexpathlist

Same problem here. What worked for me was adding android-support-v4.jar as a lib and making sure it was checked on Project properties -> Build Path -> Order & export. It was mentioned here

I had the same problem when I moved the project folder from a Linux machine to a Mac.

What I did was:

  1. Close the project
  2. Remove the .iml file
  3. Import the project using the "Create new project using existing code"

I am using IntelliJ.


I did the following steps to resolve the issue on Android Studio.

  • open file ./app/build.gradle
  • reduce compileSdkVersion (e.g. 22 -> 21)
  • click 'sync project with gradle file'
  • change back to the original compileSdkVersion (e.g. 22)
  • click 'sync project with gradle file'

recompile and it should work.