使用LItePal:报错element ‘litepal‘ must be declared和Class referenced in the manifest, `org.litepal.LitePa

错误一: element ‘litepal‘ must be declared

报错原因是因为litepal.xml 没有放在assets文件夹下

将litepal.xm移到assets文件夹下,然后点Build的文件夹下的Make Project就没有异常了。

错误二:Class referenced in the manifest, `org.litepal.LitePalApplication`, was not found in the project or the libraries 解决方法如下链接

AndroidStudio配置LitePal时Failed to Resolve或配置AndroidManifest文件时Unresolved package ‘litepal‘ 的解决方案_failed to resolve: org.litepal.android:core:1.4.1_七宗罪之懒惰的博客-CSDN博客 

猜你喜欢

转载自blog.csdn.net/A125679880/article/details/132197879