Я использовал векторные иконки в моих собственных реактивных проектах, и это было хорошо сделано, но через несколько часов, когда я выполнял сборку (act-native run-android) для платформы Android, я получаю эту ошибку.
Были ли сделаны следующие шаги для добавления векторных значков:
npm, установив реагировать-нативные-векторные-иконки -save
реагировать-нативные ссылки
Может кто-нибудь помочь решить эту проблему?
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':react-native-vector-icons'.
> Could not resolve all files for configuration ':react-native-vector-icons:classpath'.
> Could not find any matches for com.android.tools.build:gradle:2.3.+ as no versions of com.android.tools.build:gradle are available.
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/gradle/maven-metadata.xml
https://jcenter.bintray.com/com/android/tools/build/gradle/
Required by:
project :react-native-vector-icons
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 7s
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