Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,753 members, 7,820,608 topics. Date: Tuesday, 07 May 2024 at 06:05 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. (1165 Views)

Programmers How Can I Achieve This / Programmers, How Do You Cope With Generator Noise In Your Area? / Programmers how much do you earn monthly? (2) (3) (4)

(1) (Reply) (Go Down)

Android Programmers, How Can I Set Gradle Proxy Settings. by denvers: 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: 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: 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: 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: 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)

Father Of Unix And C Dies! / Owl Dl Reasoner / Which Is The Best IT School In The World?

(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 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 14
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.