2017-03-16 270 views
0

C:\用户\ ADMIN \文件\ dev的\ Breakingnews \树干\ Tawary \平台\机器人\ RES \值\ strings.xml中:错误:实测值项字符串/ google_app_id一次以上时离子2执行机器人失败

:mergeDebugResources失败

失败:生成失败并出现异常。

  • 出了什么问题:

构建失败

总时间:12.285秒

执行失败的任务 ':mergeDebugResources'。

C:\Users\ADMIN\Documents\dev\Breakingnews\trunk\Tawary\platforms\android\res\values\strings.xml: Error: Found item String/google_app_id more than one time

  • 尝试: 与--stacktrace选项获取堆栈跟踪运行。使用--info或--debug选项运行以获取更多日志输出。

错误:cmd:命令失败,退出代码为1错误输出: 注意:某些输入文件使用或覆盖弃用的API。 注意:使用-Xlint:deprecation重新编译以获取详细信息。 注意:某些输入文件使用或覆盖弃用的API。 注意:使用-Xlint:deprecation重新编译以获取详细信息。

失败:生成失败,出现异常。

  • 出了什么问题: 执行失败的任务 ':mergeDebugResources'。

    C:\Users\ADMIN\Documents\dev\Breakingnews\trunk\Tawary\platforms\android\res\values\strings.xml: Error: Found item String/google_app_id more than one time

  • 尝试: 与--stacktrace选项获取堆栈跟踪运行。使用--info或--debug选项运行以获取更多日志输出。

+0

你能为我们提供strings.xml吗? – JoeriShoeby

+0

您是否使用phonegap-plugin-push?检查https://github.com/phonegap/phonegap-plugin-push/issues/679 –

+0

对不起,错误的问题链接https://github.com/phonegap/phonegap-plugin-push/issues/1660 –

回答

0

错误的原因是在路径\你的项目root \ platforms \ android \ res \ values然后在strings.xml中检查,有两个具有相同的属性。你需要根据你的插件定义来解决这个问题。

相关问题