Skip to content

How to run React native in Android Studio behind corporate proxy? #15247

Closed
@nanda248

Description

@nanda248

​Hi,
The question I'm going to ask my be irrelevant for this Q&A section. But I still can't resolve this problem after a day.

I'm trying to run React Native app on my company PC (windows 10). When I opened the android project created by react native in Android Studio, I got error as shown in the link(https://pasteboard.co/GCZ0R2Z.png​). I clicked the error link (https://docs.gradle.org/current/userguide/userguide_single.html#sec:accessing_the_web_via_a_proxy​) in the terminal window and followed the instructions on how to configure proxy in gradle.properties. But still, there is no luck.

If anyone knows how to resolve the issue, kindly please help to share.
I have been using react native in my personal PC and there is no such error. It only happens on my company PC.

(Note: there is such error with gradle with android project which I created with Android Studio. The error only occurs on the android project created by React Native)​

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions