当我试图通过运行这个 ionic cordova build android
来构建一个android apk时,它给出了一个错误Execution failed for task ':app:processDebugManifest'
最近,我在项目中添加了一些codova插件文件、filechooser和filepath。
任务‘:app:processDebugManifest’的执行失败。
清单合并失败: Attribute meta-data#android.support.VERSION@value value=(25.4.0) from com.android.support:appcompat-v7:25.4.0 AndroidManifest.xml:28:13-35也存在于com.android.support:support-v4:26.1.0 AndroidManifest.xml:28:13-35 value=(26.1.0)。建议:在AndroidManifest.xml:26:9-28:38的元素中添加'tools:replace="android:value"‘来覆盖。
这是我的插件列表
<plugin name="cordova-plugin-whitelist" spec="1.3.3" />
<plugin name="cordova-plugin-device" spec="2.0.2" />
<plugin name="cordova-plugin-splashscreen" spec="5.0.2" />
<plugin name="cordova-plugin-ionic-webview" spec="1.1.19" />
<plugin name="cordova-plugin-ionic-keyboard" spec="2.0.5" />
<plugin name="cordova-plugin-firebase" spec="^1.0.5" />
<plugin name="cordova-plugin-inappbrowser" spec="^3.0.0" />
<plugin name="cordova-plugin-camera" spec="^4.0.3" />
<plugin name="com-sarriaroman-photoviewer" spec="^1.1.18" />
<plugin name="mx.ferreyra.callnumber" spec="~0.0.2" />
<plugin name="cordova-plugin-x-toast" spec="^2.6.2" />
<plugin name="cordova-plugin-filechooser" spec="^1.0.1" />
<plugin name="cordova-plugin-filepath" spec="^1.4.2" />
<plugin name="cordova-plugin-file" spec="^6.0.1" />
问题可能是什么?请帮帮忙。提前谢谢。
https://stackoverflow.com/questions/51747801
复制相似问题