title: java.exe'' finished with non-zero exit value 1 when using MPAndroid chart library
body: <p>I am new to android studio.I try to use the MPAndroid chart in my app.So i followed the steps given in <a href="http://code.tutsplus.com/tutorials/add-charts-to-your-android-app-using-mpandroidchart--cms-23335" rel="nofollow">http://code.tutsplus.com/tutorials/add-charts-to-your-android-app-using-mpandroidchart--cms-23335</a>.</p>
  
  <p>But while building the app i am getting these errors :</p>
  
  <p>1.</p>
  
  <blockquote>
    <p>Error:java.lang.RuntimeException:
    com.android.ide.common.process.ProcessException:
    org.gradle.process.internal.ExecException: Process 'command
    'C:\Program Files\Java\jdk1.8.0_45\bin\java.exe'' finished with
    non-zero exit value 1</p>
  </blockquote>
  
  <p>2.</p>
  
  <blockquote>
    <p>Error:com.android.ide.common.process.ProcessException:
    org.gradle.process.internal.ExecException: Process 'command
    'C:\Program Files\Java\jdk1.8.0_45\bin\java.exe'' finished with
    non-zero exit value 1</p>
  </blockquote>
  
  <p>3.</p>
  
  <blockquote>
    <p>Error:org.gradle.process.internal.ExecException: Process 'command
    'C:\Program Files\Java\jdk1.8.0_45\bin\java.exe'' finished with
    non-zero exit value 1</p>
  </blockquote>
  
  <p>I searched in google for the above errors but couldnt found the solution.
  Please if anyone able to solve the above issue ,please help me.
  Thank you</p>