Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React-native run-android take too much time

I'm on Windows and i'm working with react-native since 2 weeks. But now, it takes too much time to run my application on my devices.

Scanning 835 folders for symlinks in D:\workspace\react-
native\MonCompte\node_modules (31ms)
Starting JS server...
Building and installing the app on the device (cd android && gradlew.bat 
installDebug)...
> Configuring > 3/5 projects > Resolving dependencies ':app:_debugApk' > 
Resolving dependencies ':react-native-vector-icons:_releaseCompile'

It seems to "freeze" at this point. After more than 25 minutes it finally builds !

Is someone have an idea please? Thanks !

like image 894
Steven Klinger Avatar asked Sep 19 '25 14:09

Steven Klinger


1 Answers

So I finally found a solution.

It was because my proxy wasn't in the gradle.properties file !

systemProp.http.proxyHost=http://myproxy.proxy
systemProp.http.proxyPort=8080
systemProp.https.proxyHost=http://myproxy.proxy
systemProp.https.proxyPort=8080
like image 162
Steven Klinger Avatar answered Sep 21 '25 04:09

Steven Klinger