Home » Android » Android studio Error:For input string: “<!”

Android studio Error:For input string: “<!”

Posted by: admin November 1, 2017 Leave a comment

Questions:

I am trying to build this project: Calculator.

I successfully import it in Adnroid studio, and I get the following error:
Android studio error:

Gradle 'Simple-Calculator-master' project refresh failed
Error:For input string: "<!"

Highlighting the following line in my gradle.properties file:

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

I have no <! in my gradle.properties nor in my project. How should I solve the problem?

Answers: