materialtest icon indicating copy to clipboard operation
materialtest copied to clipboard

Gradle 'ProjectName' project refresh failed - Error: Already seen Doctype

Open MehdiBrandoMahdloo opened this issue 9 years ago • 4 comments

Hi guys! Thank you for your amazing stuff! I'm trying to open (tried also to import) the project to Android Studio 1.2.1.1 with Gradle 2.2, but what I got is this silly error!

Gradle 'ProjectName' project refresh failed Error: Already seen Doctype

Thank you so much!

MehdiBrandoMahdloo avatar May 29 '15 09:05 MehdiBrandoMahdloo

the problem might be your network. i changed my vpn and it worked for me.

ghost avatar Aug 28 '17 07:08 ghost

to solve this problem i use psiphon3 and local proxy ports setting : http/https : 8088

and change gradle.properties file (project root directory) and add these options. systemProp.https.proxyPort=8088 systemProp.http.proxyHost=127.0.0.1 systemProp.https.proxyHost=127.0.0.1 systemProp.http.proxyPort=8088

for me works fine.

r-anjirabi avatar Nov 05 '17 22:11 r-anjirabi

i have the same problem, but i am sure that my network isn't the problem, because i can download android APIs using sdk manager through android studio, i also used your method mr r.anjirabi, nothing helped back.

omid25 avatar Jan 10 '18 14:01 omid25

I also have this problem. And your solutions were not compatible

masoudalipoor avatar Mar 02 '18 13:03 masoudalipoor