【问题标题】:Cannot generate cloud backend in android studio无法在 android studio 中生成云后端
【发布时间】:2013-11-04 07:42:38
【问题描述】:

我正在尝试使用 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:我已经google了2天了,还是一无所获

【问题讨论】:

    标签: android google-app-engine maven android-studio


    【解决方案1】:

    所以云工具插件中的模板使用的是1.8.0,这些是不可更改的。您注意到的问题是与 Maven 3.1.1 不兼容。如果可能,您可以尝试使用 maven 3.0.4/3.0.5 而不是已知可与插件一起使用的 3.1.1。该模板目前正在进行更改以解决一些问题(包括您遇到的问题),将来会更新。

    【讨论】:

    • 好的,想了这么多……顺便问一下,你知道什么时候会发生吗?
    • 不幸的是,我只能说它正在筹备中,我不确定资源的分配/优先级是什么。但是,您可以尝试 github 上的 helloendpoints 示例。这些都是最新的(尽管我没有亲自玩过它们)。 github.com/GoogleCloudPlatform/…github.com/GoogleCloudPlatform/…
    猜你喜欢
    • 1970-01-01
    • 2013-12-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-02-12
    • 2013-08-08
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多