无法生成在Android Studio中的云后端 [英] Cannot generate cloud backend in android studio

查看:130
本文介绍了无法生成在Android Studio中的云后端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用生成Android中的工作室谷歌云工具云后端,但它提供了以下错误:

项目所有MyApplication-的AppEngine endpoints_get_discovery_doc(默认):

 未能执行目标com.google.appengine:AppEngine上 -  Maven的插件:1.8.0目标com.google的执行默认。 AppEngine上:AppEngine上 -  Maven的插件:1.8.0:endpoints_get_discovery_doc失败:AppEngine上 -  Maven的插件:1.8.0:endpoints_get_discovery_doc:执行com.google.appengine一个必需的类是缺少Lorg / Sonatype的/以太网/ RepositorySystem;

我已经安装了Maven的3.1.1和Android工作室是0.3.1版本(这两者是最新的版本,截至10月24日)

我看来,错误已被固定在1.8.3中的AppEngine Maven的插件版本,但我似乎根本无法给力的Andr​​oid工作室使用该版本。

如何设置行家/机器人工作室/谷歌应用程序引擎,以便它可以自动生成后台?

在此先感谢!

PS:我有现在的谷歌这2天,并已经得到无处


解决方案

因此​​,在云计算的工具插件使用1.8.0模板,这些都不是多变的。因为你已经注意到这个问题与Maven 3.1.1不兼容。如果可能的话,你可以尝试使用maven 3.0.4 / 3.0.5,而不是3.1.1这是众所周知的插件工作。该模板发生着变化,现在来解决一些事情(包括您有问题),它将在未来的更新。

I am trying to generate a cloud backend using the "google cloud tool" in android studio, however it gives the following errors:

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;

I have installed maven 3.1.1 and android studio is version 0.3.1 (both of which is the newest version as of october 24th)

I seems that the error has been fixed in the appengine-maven-plugin version 1.8.3, but i simply cannot seem to force android studio to use that version.

How do I setup maven/android studio/google app engine, so that it can autogenerate the backend?

Thanks in advance!

PS: i have google this for 2 days now, and have gotten nowhere

解决方案

So the templates in the cloud tools plugin use 1.8.0, these are not changeable. The problem as you have noticed is an incompatibility with Maven 3.1.1. If it is possible, you might try using maven 3.0.4/3.0.5 instead of 3.1.1 which are known to work with the plugin. The template is undergoing changes right now to address a couple of things (including the issue you are having), it will be updated in the future.

这篇关于无法生成在Android Studio中的云后端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆