Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,550,895 members, 5,879,059 topics. Date: Friday, 25 September 2020 at 08:35 PM

Android Programmers, How Can I Set Gradle Proxy Settings. - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Android Programmers, How Can I Set Gradle Proxy Settings. (528 Views)

I Keep Getting This Error Message "Gradle Project Syn Failed... / Programmers how much do you earn monthly? / Top Android Programmers On Nairaland And Their Works (2) (3) (4)

(1) (Reply) (Go Down)

Android Programmers, How Can I Set Gradle Proxy Settings. by denvers: 10:48am On Jun 19
I am building my first project in Android studio, when I click build project, the Gradle aapt tool is unable to generate R.java file which contains resources id for each resource.

The event log brings up the error message, unable to parse to host: web.gprs.mtnnigeria.net.
please who has an idea of a possible solution.

Please how can I set the proxy settings using MTN network so that Gradle can automatically download the aapt2 tool and generate the R.java file?
Re: Android Programmers, How Can I Set Gradle Proxy Settings. by Coder2Client(m): 10:59am On Jun 19
denvers:
I am building my first project in Android studio, when I click build project, the Gradle aapt tool is unable to generate R.java file which contains resources id for each resource.

The event log brings up the error message, unable to parse to host: web.gprs.mtnnigeria.net.
please who has an idea of a possible solution.

Please how can I set the proxy settings using MTN network so that Gradle can automatically download the aapt2 tool and generate the R.java file?
What version of AS are you using?
Re: Android Programmers, How Can I Set Gradle Proxy Settings. by denvers: 11:26am On Jun 19
Coder2Client:
What version of AS are you using?
Android studio 4.0.0
Re: Android Programmers, How Can I Set Gradle Proxy Settings. by Coder2Client(m): 12:35pm On Jun 19
denvers:
Android studio 4.0.0

You are not using any MTN proxy settings. Just make sure you connect to internet update the gradle.
Re: Android Programmers, How Can I Set Gradle Proxy Settings. by denvers: 1:57pm On Jun 20
Some suggestion is that I should use a wifi instead of a modem.
Re: Android Programmers, How Can I Set Gradle Proxy Settings. by Sirnuel: 1:10am On Jun 21
download a vpn
Re: Android Programmers, How Can I Set Gradle Proxy Settings. by spoilerx: 6:38am On Jun 21
denvers:
I am building my first project in Android studio, when I click build project, the Gradle aapt tool is unable to generate R.java file which contains resources id for each resource.

The event log brings up the error message, unable to parse to host: web.gprs.mtnnigeria.net.
please who has an idea of a possible solution.

Please how can I set the proxy settings using MTN network so that Gradle can automatically download the aapt2 tool and generate the R.java file?

Are you connecting to the internet via a proxy server ? This usually happens when AS is having trouble connecting to the internet.
Re: Android Programmers, How Can I Set Gradle Proxy Settings. by denvers: 9:04am On Jul 22
There is no problem with the internet connection, I have tried all solution I see online but it still persists. The Gradle file wouldn't build, due to proxy settings.
Re: Android Programmers, How Can I Set Gradle Proxy Settings. by Millerules(m): 11:03am On Jul 22
.
Re: Android Programmers, How Can I Set Gradle Proxy Settings. by Millerules(m): 11:04am On Jul 22
Millerules:
Change the http proxy settings to auto detect proxy. Do not set it yourself.

Connect your system to phone hotspot whenever you want to connect to internet.
Re: Android Programmers, How Can I Set Gradle Proxy Settings. by denvers: 2:07pm On Aug 02
This problem honestly frustrated me out of Android development, but I m now into web development and learning spring framework.
Re: Android Programmers, How Can I Set Gradle Proxy Settings. by Coder2Client(m): 6:19pm On Aug 04
denvers:
This problem honestly frustrated me out of Android development, but I m now into web development and learning spring framework.

Have you updated the gradle to the latest? If it still persist Uninstall and reinstall AS.

(1) (Reply)

Felix Node.js Beginner's Guide / Learn VPN Setup On My Andriod Device / Oracle Dba's-i Need Your Advice...

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2020 Oluwaseun Osewa. All rights reserved. See How To Advertise. 36
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.