Downgrade Android Packages

502 Views Asked by At

I have taken a clone of the existing repo and installed the latest Android tools for my React Native project. Now the project is up and running on my system. But I have made changes to the following files without intending it.

1) app/build.gradle :

-buildToolsVersion "25.0.2"

+buildToolsVersion '26.0.1'

2) android/ build.gradle

-classpath 'com.android.tools.build:gradle:2.2.2'

+classpath 'com.android.tools.build:gradle:2.3.3'

3)android/gradle/wrapper/gradle-wrapper.properties

-distributionUrl=https://services.gradle.org/distributions/gradle-2.14.1-all.zip

+distributionUrl=https://services.gradle.org/distributions/gradle-3.3-all.zip

I want to undo/checkout these changes (Probably might have to downgrade some of the tools). Need a safe way to do this. Thank you.

0

There are 0 best solutions below