title: Command Failed: gradlew.bat installDebug error whenever installing dependencies like navigation, firebase, icons etc in React-Native
body: <p>When ever i install any dependency in my react native project and when ever i use link command for e.g react-native link react-native-gesture-handler this causes me an error shown in the image [1].
  It doesn't build the project shows the error gradlew.bat</p>
  <p>The following code shows my package.json file</p>
  <pre><code>{
    &quot;name&quot;: &quot;navigations&quot;,
    &quot;version&quot;: &quot;0.0.1&quot;,
    &quot;private&quot;: true,
    &quot;scripts&quot;: {
      &quot;start&quot;: &quot;node node_modules/react-native/local-cli/cli.js start&quot;,
      &quot;test&quot;: &quot;jest&quot;
    },
    &quot;dependencies&quot;: {
      &quot;react&quot;: &quot;16.6.3&quot;,
      &quot;react-native&quot;: &quot;0.58.3&quot;,
      &quot;react-native-gesture-handler&quot;: &quot;^1.0.15&quot;,
      &quot;react-navigation&quot;: &quot;^3.0.9&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;babel-core&quot;: &quot;7.0.0-bridge.0&quot;,
      &quot;babel-jest&quot;: &quot;24.0.0&quot;,
      &quot;jest&quot;: &quot;24.0.0&quot;,
      &quot;metro-react-native-babel-preset&quot;: &quot;0.51.1&quot;,
      &quot;react-test-renderer&quot;: &quot;16.6.3&quot;
    },
    &quot;jest&quot;: {
      &quot;preset&quot;: &quot;react-native&quot;
    }
  }
  </code></pre>
  <img src="https://i.stack.imgur.com/hmxzX.png">