首页 > 解决方案 > 如何在 android studio 中安装 tfs?

问题描述

我想在 android studio 中使用 git 和 Visual Studio 团队服务 .. 我无法安装它的插件 .. 我在 AS 中的插件中进行了搜索,但也没有尝试从磁盘安装插件,但出现此错误

fail to load plugin descriptor from file 

我也试图找到浏览存储库,但我在最新版本的 AS 中找不到它

我怎样才能做到这一点?

这是我在 build.gradle 中的依赖项

dependencies {
    implementation 'com.android.support:multidex:1.0.3'
    implementation project(':baseGameUtils')
    implementation fileTree(dir: 'libs', include: ['*.jar'])

    implementation 'com.android.support:support-v4:28.0.0'
    implementation 'com.google.android.gms:play-services:11.8.0'
    implementation 'com.google.android.gms:play-services-ads:11.8.0'
    implementation 'com.google.android.gms:play-services-identity:11.8.0'
    implementation 'com.google.android.gms:play-services-gcm:11.8.0'

    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}

标签: tfsandroid-studio-3.0

解决方案


Azure DevOps 插件与 IntelliJ、Android Studio 和各种其他 JetBrains IDE 中的 Azure DevOps 和 Team Foundation Server (TFS) 2015+ 上的 Git 和 TFVC 存储库一起使用。它在 Linux、Mac OS X 和 Windows 上受支持。它与 IntelliJ IDEA Community 和 Ultimate 版(2018.3+ 版)和 Android Studio(3.4+ 版)兼容。请检查您的 TFS 版本和 Android Studio 版本。

您可以通过浏览 Plugin Repository 从 Android Studio 安装插件,或者从Android Studio Plugin Repository将插件下载到磁盘并安装下载的 JAR 文件。

查看以下链接了解更多详情:

https://docs.microsoft.com/en-us/previous-versions/azure/devops/java/download-android-studio-plug-in?view=azure-devops


推荐阅读