i am trying to build apk but i get this error in react-native
Go to this directory :your project\android\gradle\wrapper\gradle-wrapper.properties
in this file you can update the version ,the lowest version you can use is 4.10.1
My {gradle-wrapper.properties} file syntax:
distributionBase=GRADLE_USER_HOMEdistributionPath=wrapper/distszipStoreBase=GRADLE_USER_HOMEzipStorePath=wrapper/distsdistributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip