Android资源链接在构建中失败

问题描述

在构建android(离子+电容器)项目时遇到一些错误。我在构建过程中使用的是android studio。生成的android manifest.xml文件给了我一些android资源链接错误。要清除,它是一个生成的文件。

它位于:Map<String,List<CompanyEntity>> mapData = mainEntityList .stream() .collect(Collectors.groupingBy(MainEntity::getKeyWord,Collectors.groupingBy(MainEntity::getCtr,Collectors.averagingDouble(MainEntity::getCtr)))) .entrySet() .stream() .collect(Collectors.toMap(m -> m.getKey(),m -> m.entrySet() .stream() .sorted(Comparator.comparing(e -> e.getValue())) .map(e -> new CompanyEntity(e.getKey(),e.getValue())) .collect(Collectors.toList())));

以下错误的示例:

android/capacitor-cordova-android-plugins/build/intermediates/library_manifest/debug/AndroidManifest.xml
URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)
Attribute android:configChanges is not allowed here
Attribute android:versionCode is not allowed here
Attribute android:enabled is not allowed here

我确实尝试更新所有依赖项,并清理并重建项目。这个问题应该在哪里或如何解决?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)