Android Didn't find class "xxx某个包名xxx" on path: DexPathList[[zip file "

自定义控件或使用他人写好的控件时,出现Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.graduationproject.view.MyListView" on path: DexPathList[[zip file "/data/app/com.example.news-BGVcFU4Fzs5IG_0Ecorg1A==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.news-BGVcFU4Fzs5IG_0Ecorg1A==/lib/arm64, /system/lib64, /product/lib64]]的错误

解决办法:

找到自定义的控件所在的xml文件,再找到控件
Android Didn't find class
找到自定义控件的类并复制类路劲
Android Didn't find class
替换掉第一张图红框框柱的路劲就可以了!

你可能感兴趣的:(Android错误集)