jalal khaleghi
4 سال پیش توسط jalal khaleghi مطرح شد
1 پاسخ

مشل هنگام ران کردن پروژه ری اکت نیتیو

‍‍‍‍```
yarn run v1.22.4
$ E:\app-source-native-master\node_modules.bin\react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using
"--no-jetifier" flag.
Jetifier found 1067 file(s) to forward-jetify. Using 4 workers...
info Starting JS server...
info Installing the app...
Downloading https://services.gradle.org/distributions/gradle-6.0.1-all.zip

Exception in thread "main" java.io.IOException: Unable to tunnel through proxy.
Proxy returns "HTTP/1.1 403 Request blocked by Privoxy"
at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnec
tion.java:2142)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(AbstractDelegateHttpsURLConnection.java:183)
at sun.net.www.protocol.http.HttpURLConnection.followRedirect0(HttpURLCo
nnection.java:2729)
at sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLCon
nection.java:2641)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLCo
nnection.java:1824)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:1492)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Http
sURLConnectionImpl.java:263)
at org.gradle.wrapper.Download.downloadInternal(Download.java:67)
at org.gradle.wrapper.Download.download(Download.java:52)
at org.gradle.wrapper.Install$1.call(Install.java:62)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAcc
essManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:63)

error Failed to install the app. Make sure you have the Android development envi
ronment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --v
erbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8
081
Exception in thread "main" java.io.IOException: Unable to tunnel through proxy.
Proxy returns "HTTP/1.1 403 Request blocked by Privoxy"
at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnec
tion.java:2142)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(AbstractDelegateHttpsURLConnection.java:183)
at sun.net.www.protocol.http.HttpURLConnection.followRedirect0(HttpURLCo
nnection.java:2729)
at sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLCon
nection.java:2641)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLCo
nnection.java:1824)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:1492)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Http
sURLConnectionImpl.java:263)
at org.gradle.wrapper.Download.downloadInternal(Download.java:67)
at org.gradle.wrapper.Download.download(Download.java:52)
at org.gradle.wrapper.Install$1.call(Install.java:62)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAcc
essManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:63)

at makeError (E:\app-source-native-master\node_modules\execa\index.js:174:9)
at E:\app-source-native-master\node_modules\execa\index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async runOnAllDevices (E:\app-source-native-master\node_modules\@react-na

tive-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js
:94:5)
at async Command.handleAction (E:\app-source-native-master\node_modules\@rea
ct-native-community\cli\build\index.js:186:9)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this comm
and.



سلام کسی میدونه من این ارور رو چجوری میتونم حل کنم
لطفا راهنمایی کنید
سپاس

ثبت پرسش جدید
آرین حسینی
تخصص : Solidity Developer. Blockchai...
@arian 4 سال پیش مطرح شد
0

سلام وقت بخیر
این لینک رو ی نگاهی بندازید.


برای ارسال پاسخ لازم است وارد شده یا ثبت‌نام کنید

ورود یا ثبت‌نام