我正在使用cordova创建一个应用程序并且我遵循了本教程https://github.com/wf9a5m75/phonegap-googlemaps-plugin/wiki/Tutorial-for-Windows但是我收到了一个我无法解决的错误:
* What went wrong:
Execution failed for task ':processDebugResources'.
> Error: more than one library with package name 'com.google.android.gms'
You can temporarily disable this error with android.enforceUniquePackageName=false
However, this is temporary and will be enforced in 1.0
任何人都可以帮助我吗?我真的很陌生...... 谢谢
答案 0 :(得分:-3)
我遇到了同样的问题。它似乎是由安装/删除各种插件后Android build.gradle中的冲突引起的。我能够通过重新安装android平台来解决它,它重新生成了build.gradle:
cordova platform remove android
cordova platform add android