Ste*_*ger 4 windows android react-native
我在 Windows 上使用 React-Native 已有 2 周了。但现在,在我的设备上运行我的应用程序需要太多时间。
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'
Run Code Online (Sandbox Code Playgroud)
此刻似乎“冻结”了。超过 25 分钟后,它终于构建完成了!
有人有想法吗?谢谢 !
所以我终于找到了解决办法。
这是因为我的代理不在 gradle.properties 文件中!
systemProp.http.proxyHost=http://myproxy.proxy
systemProp.http.proxyPort=8080
systemProp.https.proxyHost=http://myproxy.proxy
systemProp.https.proxyPort=8080
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7678 次 |
| 最近记录: |