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

错误一: element ‘litepal‘ must be declared

使用LItePal:报错element ‘litepal‘ must be declared和Class referenced in the manifest, `org.litepal.LitePa_第1张图片

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

使用LItePal:报错element ‘litepal‘ must be declared和Class referenced in the manifest, `org.litepal.LitePa_第2张图片

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

使用LItePal:报错element ‘litepal‘ must be declared和Class referenced in the manifest, `org.litepal.LitePa_第3张图片

错误二: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博客 

 

你可能感兴趣的:(异常,android)