2015-10-16 89 views
3

當我使用科爾多瓦打造我得到一個錯誤--release機器人發生配置根項目「機器人」

,這是在命令提示符下鍵入錯誤:

FAILURE: Build failed with an exception. 

* What went wrong: 
A problem occurred configuring root project 'android'. 
> Could not resolve all dependencies for configuration ':_debugCompile'. 
    > Could not find any version that matches com.google.android.gms:play-services-ads:+. 
    Searched in the following locations: 
     https://repo1.maven.org/maven2/com/google/android/gms/play-services-ads/maven-metadata.xml 
     https://repo1.maven.org/maven2/com/google/android/gms/play-services-ads/ 
     file:/C:/Users/arnold/Downloads/android-sdk_r24.3.4-windows/android-sdk-windows/extras/android/m2repository/com/google/android/gms/play-services-ads/maven-metadata.xml 
     file:/C:/Users/arnold/Downloads/android-sdk_r24.3.4-windows/android-sdk-windows/extras/android/m2repository/com/google/android/gms/play-services-ads/ 
    Required by: 
     :android:unspecified 

有人可以幫助我嗎?這真的是令人沮喪 我有搜索谷歌,但很多人有不同的配置錯誤 我已經更新所有安裝在android SDK中的文件。

+0

你找到一個soution?我也有同樣的問題 – BrendanMullins

回答

0

試試這個

android update sdk --no-ui --all --filter "extra-android-m2repository"