₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,329,136 members, 8,439,027 topics. Date: Saturday, 04 July 2026 at 11:59 AM

Toggle theme

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

Nairaland ForumScience/TechnologyProgrammingAndroid Programmers, How Can I Set Gradle Proxy Settings. (1629 Views)

1 Reply (Go Down)

Android Programmers, How Can I Set Gradle Proxy Settings. by denvers(op): 10:48am On Jun 19, 2020
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, 2020
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(op): 11:26am On Jun 19, 2020
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, 2020
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(op): 1:57pm On Jun 20, 2020
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, 2020
download a vpn
Re: Android Programmers, How Can I Set Gradle Proxy Settings. by spoilerx: 6:38am On Jun 21, 2020
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(op): 9:04am On Jul 22, 2020
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, 2020
.
Re: Android Programmers, How Can I Set Gradle Proxy Settings. by Millerules(m): 11:04am On Jul 22, 2020
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(op): 2:07pm On Aug 02, 2020
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, 2020
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.
Re: Android Programmers, How Can I Set Gradle Proxy Settings. by NobleEugene5(m): 7:53am On Jun 08, 2021
Did you download Gradle sepperatly
from android studio?
1 Reply

Programmers, How Do You Solve Power IssueProgrammers How Can I Achieve ThisProgrammers, How Do You Cope With Generator Noise In Your Area?234

One Little Cracker For All Programmers!!! (enjoy)Help! Installing PythonBoy Hacks Into Unilag College Of Medicine Website & Brags About It