问题描述
我有一个Android Studio版本1.3.2的Android工作室项目。现在在Android Studio 2.1.2的另一台PC上,我想导入或打开该项目。但是,当我尝试,并打开时,我的Gradle版本发生错误,并希望从我下载必要的Gradle版本。
但由于我的原因,我不想用Android studio下载新数据。我如何手动将旧的PC Gradle转移到新的?或者有更简单的方法来解决这个问题?
添加本地Gradle到项目真的很有用
1.下载Gradle
SO-35302414-local-gradle-pluginrel =noreferrer> https://github.com/foragerr/SO-35302414-local-gradle-pluginI have an Android studio project that wrote in Android Studio version 1.3.2. Now in another PC with Android Studio 2.1.2 I want to import or open that project to it. But when I try, and while opening, error occurred with my Gradle version and want from me to download necessary Gradle version.
But for my reasons, I don't want to download new data with Android studio. how can I manually transfer old PC Gradle to new one? or is there simpler way to resolve that?
Adding local Gradle to projects would be really helpful
1.Download Gradle http://www.gradle.org/downloads
2.Install
3.Set Gradle home to the install directory like below :
there is sample project check it : https://github.com/foragerr/SO-35302414-local-gradle-plugin
这篇关于从另一台具有不同Gradle版本的PC导入Android Studio项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!