- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我试图通过运行这个 ionic cordova build android
构建一个 android apk 时,它给我一个错误 Execution failed for task ':app :processDebugManifest'
最近,我在我的项目中添加了一些codova插件文件、文件选择器和文件路径。
任务“:app:processDebugManifest”执行失败。
Manifest merger failed : 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 is also present at [com.android.support:support-v4:26.1.0] AndroidManifest.xml:28:13-35 value=(26.1.0). Suggestion: add 'tools:replace="android:value"' to element at AndroidManifest.xml:26:9-28:38 to override.
这是我的插件列表
<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" />
可能是什么问题?请帮忙。提前致谢。
最佳答案
转到您的项目 platforms/android/app/src/main/androidmanifes.xml 文件。然后将此行添加到您的 list 标签中:
<manifest ..... xmlns:tools="http://schemas.android.com/tools" >
然后在应用程序标签开始后添加下面的代码,如下所示
<application>
<meta-data
tools:replace="android:value"
android:name="android.support.VERSION"
android:value="25.4.0" />
......
......
</application>
这就是你所要做的......
关于android - Ionic 3 - 任务 ':app:processDebugManifest' 执行失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51747801/
我是 Android Studio 的新手,当 gradle 构建时,我收到此错误: org.gradle.api.tasks.TaskExecutionException: Execution fa
错误:任务 ':app:processDebugManifest' 执行失败。 com.android.manifmerger.ManifestMerger2$MergeFailureExceptio
关闭。这个问题需要更多focused .它目前不接受答案。 想改进这个问题吗? 更新问题,使其只关注一个问题 editing this post . 关闭 6 年前。 Improve this qu
当我 ionic cordova build android --release 时出现错误 ios已经构建成功,但是android不能为我构建,第一次遇到这个问题,构建之前很开心 最近,我在我的项目
从昨天开始,我在构建时遇到了一个 gradle 错误 - 它只是随机出现的...... 此处的完整堆栈跟踪: 我的项目依赖于多个库,并且直到昨天才构建没有任何问题(即使使用库) compile 'co
我正在尝试导入一个 Android 示例项目,然后我收到此消息错误: 错误:任务“:app:processDebugManifest”执行失败。 Manifest merger failed : us
我突然遇到执行任务操作问题。 我尝试了那里和其他页面的解决方案,但没有帮助,因为它们是旧版本的 Android Studio。 我的build.gradle apply plugin: 'com.an
我不断收到错误“错误:无法获取 com.android.build.gradle.tasks.ProcessApplicationManifest 类型的任务 ':app:processDebugMa
我是 Android Studio 的新手,所以对于有经验的人来说这可能听起来很愚蠢。 我在 Android Studio 中收到一条错误消息: Error:Execution failed for
我开始在 Android 上使用 google play 服务 API,在阅读了几个教程并以多种方式进行操作后,我总是遇到相同的错误。 Gradle: Execution failed for tas
我在构建 ionic 3 应用程序时遇到了问题。每次我尝试构建 android 应用程序时,它都会出现以下错误。 * What went wrong: Execution failed for tas
我正在使用 angular 和 firebase 开发 ionic4 应用。 我正在使用 ionic cordova run android 构建应用程序到 android,它已成功构建应用程序。突然
我已经将gradle更新到最新版本,现在出现此错误。org.gradle.internal.exceptions.LocationAwareException: Execution failed fo
下载新的 Android SDK 后出现以下错误: "Error:Execution failed for task ':app:processDebugManifest'. > Manifest m
请帮帮我。每当我尝试构建 gradle 或尝试运行应用程序时出现如下错误:- Error:Execution failed for task ':app:processDebugManifes
当我试图通过运行这个 ionic cordova build android 构建一个 android apk 时,它给我一个错误 Execution failed for task ':app :p
错误:任务 ':app:processDebugManifest' 执行失败。 Manifest merger failed with multiple errors, see logs in and
尝试在 Android 中构建 React Native 项目时收到以下错误。解决方法如:1. Manifest.XML 和 android.useAndroidX=true、android.enab
几天前它还在工作。我没有更新任何东西。删除了 node_modules 文件夹 - 同样的事情。 可能出了什么问题?请指点一下。 已尝试添加到 AndroidManifest.xml: - tools
我在运行项目时发现一个错误,我尝试查找许多示例但都失败了,这是错误的详细信息: D:\myApp\android\app\src\debug\AndroidManifest.xml:22:18-91
我是一名优秀的程序员,十分优秀!