原因在于SDK的版本默认导入工程时使用的Gradle是2.10版本,位于:
D:\android-studio\gradle
而导入的工程由于版本比较低,使用到的gradle还是2.2的版本,故出现sync失败,采用的方式是修改当前
打开工程后FIle->setting->Builde,Execution后修改当前的local gradle的Grable home.
由于工程是使用到2.2的版本,其会自动下载该version对应的Grable位于:
C:\Users\xxx\.gradle\wrapper\dists\gradle-2.2.1-all\6dibv5rcnnqlfbq9klf8imrndn\gradle-2.2.1
故本次处理gradle处理可以使用该目录下的grable作为Grable Home路径。
ps:发现open这个工程直接就不会出现上述的问题