Downgrade Gradle from 3.3 to 2.14.1 : <p>Long story short: My android phone keeps disconnecting from ADB.  I was told to update android studio, did that.  I open my project in Intellij and try to run on android and I get an error: </p>

<pre><code>BUILD FAILED

Total time: 48.986 secs

Error: /Users/me/Desktop/comp/Development/comp-ionic/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
&gt; java.lang.NullPointerException (no error message)
</code></pre>

<p>My first thought is that my gradle is the wrong version.  For this specific app, I need to use gradle version <code>2.14.1</code>.  </p>

<p>When I type <code>gradle -v</code> I'm getting version 3.3.</p>

<p>Is there a way to delete/downgrade gradle from 3.3 to 2.14.1?</p>

<p>Or is this another problem?</p>
