jpush / jpush-phonegap-plugin

JPush's officially supported PhoneGap/Cordova plugin (Android & iOS). 极光推送官方支持的 PhoneGap/Cordova 插件(Android & iOS)。
https://docs.jiguang.cn
MIT License
925 stars 350 forks source link

构建Android失败 #426

Closed cnkker closed 4 years ago

cnkker commented 4 years ago

WARNING: 如果不按照这个表格,我们将无法帮助你,并将忽略你的问题。

你的运行环境

期望效果

构建成功

实际效果

构建Android 失败

重现步骤

  1. ionic cap sync
  2. ionic cap open android 打开Android后,失败

背景

Debug logs

9:59 Gradle sync failed: Cause: org.xml.sax.SAXParseException; systemId: file:/D:/xxx/android/capacitor-cordova-android-plugins/src/main/AndroidManifest.xml; lineNumber: 45; columnNumber: 26; Attribute "name" bound to namespace "http://schemas.android.com/apk/res/android" was already specified for element "application". Attribute "name" bound to namespace "http://schemas.android.com/apk/res/android" was already specified for element "application". Consult IDE log for more details (Help | Show Log) (24 s 939 ms)

cnkker commented 4 years ago

已经解决了!