でアプリをインストールすることができませんでしたこんにちは反応し、ネイティブウィンドウ上で始めていますし、私は私の最初のプロジェクトを構築しましたが、私は反応ネイティブデバイス
react-native run-andoird
でそれを実行すると、それは私にこの
を与えます* What went wrong:
A problem occurred configuring root project 'albums'.
> Could not resolve all files for configuration ':classpath'.
> Could not resolve com.android.tools.build:gradle:3.0.1.
Required by:
project :
> Could not resolve com.android.tools.build:gradle:3.0.1.
> Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.pom'.
> Could not HEAD 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.pom'.
> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/108.168.243.150] failed: Connection timed out: connect
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --
debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 22s
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/android-setup.html
助けてください
あなたはどちらのバージョンを使用していますか? – Kraylog
gradle version 4.1 – amirhesni
アクセス可能かどうかを確認するために、telnetなどのURLでURLに接続しようとしましたか? – Kraylog