2016-10-09 15 views
0

Hostedビルドマシンに別のバージョンを追加する方法に関するアイデア(Visual Studio Team Services /タコス)? 私はのような何かを実行しようとしています:ホストされたビルド:com.google.android.gmsに一致するバージョンが見つかりませんでした:play-services-gcm:9.0.2+

$ANDROID_HOME = $ENV:ANDROID_HOME 
'y' | & "$ANDROID_HOME\tools\android" update sdk --no-ui --force --filter extra-google-google_play_services 

をこのエラーを得た:

SDK Manager: failed to install -= Warning ! =- A folder failed to be moved. On Windows this typically means that a program is using that folder (for example Windows Explorer or your anti-virus software.) 
Please momentarily deactivate your anti-virus software or close any running programs that may be 
accessing the directory 'C:\java\androidsdk\android-sdk\extras\google\google_play_services'. 

私の元のエラーは、このでしたが、多分これを実行する別の方法があります:

FAILURE: Build failed with an exception. BUILD FAILED * 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-gcm:9.0.2+. 
    Versions that do not match: 
     8.4.0 
     8.3.0 
     8.1.0 
     7.8.0 
    Searched in the following locations: 
     https://repo1.maven.org/maven2/com/google/android/gms/play-services-gcm/maven-metadata.xml 
     https://repo1.maven.org/maven2/com/google/android/gms/play-services-gcm/ 
     https://jcenter.bintray.com/com/google/android/gms/play-services-gcm/maven-metadata.xml 
     https://jcenter.bintray.com/com/google/android/gms/play-services-gcm/ 
     file:/C:/java/androidsdk/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-gcm/maven-metadata.xml 
     file:/C:/java/androidsdk/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-gcm/ 
     file:/C:/java/androidsdk/android-sdk/extras/google/m2repository/com/google/android/gms/play-services-gcm/maven-metadata.xml 
    Required by: 
     :android:unspecified 

答えて

0

Hosted Build Agentでは、すでにエージェントにインストールされているソフトウェアでのみビルドを実行できます。他のソフトウェア/バージョンをインストールする方法はありません。

Q: Does your build depend on software other than this software that is installed on hosted build resources?

A: No. Then you can use the hosted pool.

ビルドは、他のソフトウェアを使用する必要がある場合、あなたはdeploy your own build agent.

に必要
関連する問題