當我們試圖建立使用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