当我们试图建立使用Android的手机科尔多瓦间隙这个错误会发生科尔多瓦清单合并失败
:mergeDebugResources
:processDebugManifest D:\Android\ThePlug\platforms\android\AndroidManifest.xml:27:9-31 Error:
Attribute meta-data#[email protected] value=(25.3.1) from [com.android.support:appcompat-v7:25.3.1] AndroidManifest.xml:27:9-31
is also present at [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38 value=(26.0.0-alpha1).
Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-27:34 to override.
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
:processDebugManifest FAILED
FAILURE: Build failed with an exception.
- 出了什么问题: 执行失败的任务“:processDebugManifest”。
清单合并失败:属性meta-data#[email protected] VAL UE =(25.3.1)从[com.android.support:appcompat-v7:25.3.1]的AndroidManifest.xml: 2 7:9-31也出现在[com.android.support:support-v4:26.0.0-alpha1] Androi dManifest.xml:27:9-38 value =(26.0.0-alpha1)。建议:添加'工具:替换=“android:value”'以重写元素 t AndroidManifest.xml:25:5-27:34。
我收到了同样的错误,不认为它与最近离子CLI更新,但一旦我安装时发生错误,我UA科尔多瓦插件。 – mcabe
当我们删除[facebook4](https://github.com/mpk2/cordova-plugin-facebook4)插件它为我工作正常。 –
您是否尝试添加工具:在删除插件之前进行替换? – mcabe