آموزش جاوااسکریپت › انجمن ها › react native › باز کردن سورس یک پروژه از قبل ساخته شده › پاسخ به: باز کردن سورس یک پروژه از قبل ساخته شده
نوامبر 10, 2018 در 10:35 ب.ظ
#21796
MJ
مشارکت کننده
وقتی از دستور react-native run-android استفاده می کنم پیام زیر رو میده
JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
C:\Users\azima\Desktop\MizAkhbar>react-native run-android Scanning folders for symlinks in C:\Users\azima\Desktop\MizAkhbar\node_modules (228ms) Starting JS server... Building and installing the app on the device (cd android && gradlew.bat installDebug)... java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required" Failed to download any source lists! File C:\Users\azima\.android\repositories.cfg could not be loaded. FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':app'. > Could not resolve all dependencies for configuration ':app:_debugApk'. > A problem occurred configuring project ':react-native-video'. > Could not resolve all dependencies for configuration ':react-native-video:_debugPublishCopy'. > Could not resolve com.google.android.exoplayer:exoplayer:2.7.3. Required by: MizAkhbar:react-native-video:unspecified > Could not resolve com.google.android.exoplayer:exoplayer:2.7.3. > Could not get resource 'https://jcenter.bintray.com/com/google/android/exoplayer/exoplayer/2.7.3/exoplayer-2.7.3.pom'. > Could not GET 'https://jcenter.bintray.com/com/google/android/exoplayer/exoplayer/2.7.3/exoplayer-2.7.3.pom'. Received status code 407 from server: Proxy Authentication Required > Could not resolve com.google.android.exoplayer:exoplayer:2.7.3. > Could not get resource 'https://maven.google.com/com/google/android/exoplayer/exoplayer/2.7.3/exoplayer-2.7.3.pom'. > Could not GET 'https://maven.google.com/com/google/android/exoplayer/exoplayer/2.7.3/exoplayer-2.7.3.pom'. Received status code 407 from server: Proxy Authentication Required > Could not resolve com.google.android.exoplayer:extension-okhttp:2.7.3. Required by: MizAkhbar:react-native-video:unspecified > Could not resolve com.google.android.exoplayer:extension-okhttp:2.7.3. > Could not get resource 'https://jcenter.bintray.com/com/google/android/exoplayer/extension-okhttp/2.7.3/extension-okhttp-2.7.3.pom'. > Could not GET 'https://jcenter.bintray.com/com/google/android/exoplayer/extension-okhttp/2.7.3/extension-okhttp-2.7.3.pom'. Received status code 407 from server: Proxy Authentication Required > Could not resolve com.google.android.exoplayer:extension-okhttp:2.7.3. > Could not get resource 'https://maven.google.com/com/google/android/exoplayer/extension-okhttp/2.7.3/extension-okhttp-2.7.3.pom'. > Could not GET 'https://maven.google.com/com/google/android/exoplayer/extension-okhttp/2.7.3/extension-okhttp-2.7.3.pom'. Received status code 407 from server: Proxy Authentication Required > Could not resolve com.squareup.okhttp3:okhttp:3.9.1. Required by: MizAkhbar:react-native-video:unspecified > Could not resolve com.squareup.okhttp3:okhttp:3.9.1. > Could not get resource 'https://jcenter.bintray.com/com/squareup/okhttp3/okhttp/3.9.1/okhttp-3.9.1.pom'. > Could not GET 'https://jcenter.bintray.com/com/squareup/okhttp3/okhttp/3.9.1/okhttp-3.9.1.pom'. Received status code 407 from server: Proxy Authentication Required > Could not resolve com.squareup.okhttp3:okhttp:3.9.1. > Could not get resource 'https://maven.google.com/com/squareup/okhttp3/okhttp/3.9.1/okhttp-3.9.1.pom'. > Could not GET 'https://maven.google.com/com/squareup/okhttp3/okhttp/3.9.1/okhttp-3.9.1.pom'. Received status code 407 from server: Proxy Authentication Required * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 45.721 secs Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/getting-started.html |