Android Studio moving project to another computer?

前端 未结 6 1919
旧时难觅i
旧时难觅i 2020-12-25 13:12

Does anyone one know how to move one project built using Android Studio to another computer?

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-25 13:29

    I finally find the solution. this is simple:

    1- Go to your project folder, then open gradle>wrapper>gradle-wrapper.properties with note pad.
    2- In last line, change your distribution URL to :distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip(or each version of gradle you have.)
    3- then go to Android studio and in project build.gradle and change your class path to latest version of gradle you have. classpath 'com.android.tools.build:gradle:2.1.2'
    4- Go to app gradle.build and set buildToolsVersion "23.0.3"

提交回复
热议问题