Didn't find class on path: dexpathlist

VulfCompressor picture VulfCompressor · Apr 15, 2014 · Viewed 44.2k times · Source

Seriously, i don't know what to do to solve this problem. My android project was working fine, until i needed to import a library with Maven. Since that, everything started to collapse.

What is happening: When i start my application, the following error appears on LogCat and android tells that my app stopped working. I've searched for this similar error here AND on the rest of the internet, but everything people did haven't worked for me.

Error:

java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.buscaserra/com.buscaserra.main.ActivitySplash}: java.lang.ClassNotFoundException: Didn't find class "com.buscaserra.main.ActivitySplash" on path: DexPathList[[zip file "/system/framework/com.google.android.maps.jar", zip file "/data/app/com.example.buscaserra-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.buscaserra-2, /vendor/lib, /system/lib]]

Manifest and packages: manifest packages

Build Path: buildpath

Please, i don't know what else to do. My project deadline is near and im desperate. Thanks in advance.

Answer

Federico picture Federico · Oct 2, 2014

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