user6761472 user6761472 - 2 months ago 17
Android Question

How to fix running app error in Android Studio

I want import this project from Github : NotePad.

But when running application on my phone, not running and show me this error :

enter image description here

My android studio version is

2.1.3
and this version has lasted version! My internet has connection ! How can I fix this?

Answer

Go to this path : <project>/gradle/wrapper/gradle-wrapper.properties and chenge this :

distributionUrl=https\://services.gradle.org/distributions/gradle-3.0-all.zip 

to this :

distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
Comments