Пытаюсь подключить сдк по
этой инструкции с использованием gradle для авторизации пользователя через приложение ВК если оно установлено с использованием пакета "react-native-vkontakte-login"
1 создаю папку "vksdk_library"(в инструкции написано что надо ее скопировать но откуда непонятно) в папке "android" в нее скопировал все что было в гитхаб
2 добавил записи в gradle файлы
запускаю проект react-native run-android получаю ошибки
spoiler
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1022 file(s) to forward-jetify. Using 16 workers...
info Starting JS server...
info Installing the app...
<-------------> 0% INITIALIZING [1s]
> Evaluating settings
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1022 file(s) to forward-jetify. Using 16 workers...
info Starting JS server...
info Installing the app...
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file 'E:\ReactNative\test\android\vksdk_library\build.gradle' line: 26
* What went wrong:
A problem occurred evaluating project ':vksdk_library'.
> Plugin with id 'kotlin-android' not found.
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':vksdk_library'.
> compileSdkVersion is not specified.
* 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 18s
error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment.
Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file 'E:\ReactNative\test\android\vksdk_library\build.gradle' line: 26
* What went wrong:
A problem occurred evaluating project ':vksdk_library'.
> Plugin with id 'kotlin-android' not found.
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':vksdk_library'.
> compileSdkVersion is not specified.
* 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 18s
at checkExecSyncError (child_process.js:621:11)
at execFileSync (child_process.js:639:15)
at runOnAllDevices (E:\ReactNative\test\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:39)
at buildAndRun (E:\ReactNative\test\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:179:41)
<-------------> 0% WAITING
> IDLE
ndencies of :react-native-community_masked-view:classpathde_modules\react-native\node_modules\@react-native-community\cli\build\index.js:182:9)