Android Studio 2.2 Google play services sync Error

前端 未结 4 1869
情深已故
情深已故 2020-12-14 17:47

I have update to android studio 2.2

I started a new project and i included

compile \'com.google.android.gms:play-services-vision:9.4.0+\'

4条回答
  •  [愿得一人]
    2020-12-14 18:14

    The problem is indeed the long file path. However, instead of moving your project, you could change the build directory for your project. This should solve the issue. In your root build.gradle add:

    allprojects {
        buildDir = "C:/tmp/${rootProject.name}/${project.name}"
        repositories {
           ...
        }
    }
    

提交回复
热议问题