我正在尝试使用android studio中的“google cloud tool”生成云后端,但它会出现以下错误:
Failed to execute goal com.google.appengine:appengine-maven-plugin:1.8.0:endpoints_get_discovery_doc (default) on project MyApplication-AppEngine: Execution default of goal com.google.appengine:appengine-maven-plugin:1.8.0:endpoints_get_discovery_doc failed: A required class was missing while executing com.google.appengine:appengine-maven-plugin:1.8.0:endpoints_get_discovery_doc: Lorg/sonatype/aether/RepositorySystem;
我已经安装了maven 3.1.1并且android studio是版本0.3.1(两者都是截至10月24日的最新版本)
我似乎在appengine-maven-plugin版本1.8.3中修复了错误,但我似乎无法强迫android studio使用该版本。
如何设置maven / android studio / google应用引擎,以便它可以自动生成后端?
提前致谢!
PS:我现在已经谷歌了2天,并且无处可去
答案 0 :(得分:1)
因此,云工具插件中的模板使用1.8.0,这些模板不可更改。您注意到的问题是与Maven 3.1.1不兼容。如果可能,您可以尝试使用maven 3.0.4 / 3.0.5而不是已知可与插件一起使用的3.1.1。该模板目前正在进行更改,以解决一些问题(包括您遇到的问题),将来会更新。