2013-10-25 35 views
1

我試圖使用生成在Android Studio中的「谷歌雲工具」雲後臺雲的後端,但是它提供了以下錯誤:無法生成在Android Studio中

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工作室版本0.3.1(這兩個都是最新版本截至10月24日)

我似乎在appengine-maven插件版本1.8.3中已經修復了錯誤,但我根本看不到強制android studio使用該版本。

如何設置maven/android studio/google app引擎,以便它可以自動生成後端?

在此先感謝!

PS:我有現在的谷歌這2天,並已經得到了無處

回答

1

所以在雲計算工具的插件使用1.8.0模板,這些都沒有改變。你已經注意到的問題是與Maven 3.1.1不兼容。如果可能的話,你可以嘗試使用maven 3.0.4/3.0.5,而不是已知可以與插件一起使用的3.1.1。該模板現在正在進行更改以解決一些問題(包括您遇到的問題),它將在未來進行更新。

+0

好的,這麼想......你知道什麼時候會發生這種事嗎? – lycilph

+0

不幸的是,我只能說它正在籌備中,我不確定資源的分配/優先級是什麼。不過你可以試試github上的helloendpoints示例。那些更新(儘管我沒有親自與他們玩過)。 https://github.com/GoogleCloudPlatform/appengine-endpoints-helloendpoints-java-maven https://github.com/GoogleCloudPlatform/appengine-endpoints-helloendpoints-android – loosebazooka