title: Cannot add task 'wrapper' as a task with that name already exists
body: <p>When installing <strong>'react-native init AwesomeProject'</strong> I get this error when I run <code>react-native run-android</code>: </p>
  
  <pre><code>Could not determine java version from '11.0.1'.
  </code></pre>
  
  <p>A quick google suggests I need to update the <code>distributionUrl</code> in the Gradle-wrapper. Having done this I am faced with a new error:</p>
  
  <pre><code>Cannot add task 'wrapper' as a task with that name already exists.
  </code></pre>
  
  <p>It suggests the issue is in the file:</p>
  
  <pre><code>/AwesomeProject/android/build.gradle' line: 36
  </code></pre>
  
  <p>which looks like this</p>
  
  <pre><code>task wrapper(type: Wrapper) {
      gradleVersion = '4.4'
      distributionUrl = distributionUrl.replace("bin", "all")
  }
  </code></pre>
  
  <p>I've been back and forth trying to figure out what this does. It seems odd that something wouldn't work straight out of the box. Is anybody facing a similar issue?</p>