Показать сообщение отдельно
  #1 (permalink)  
Старый 15.05.2018, 11:00
Интересующийся
Отправить личное сообщение для ishurgaya Посмотреть профиль Найти все сообщения от ishurgaya
 
Регистрация: 12.08.2015
Сообщений: 29

Ошибка при компиляции приложения на react native
Здравствуйте.

Создаю на react native приложение для android.
Делаю сборку приложения командой
$ cd android && ./gradlew assembleRelease

В результате в консоли получаю ошибку:

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
   > Could not resolve com.android.support:appcompat-v7:23.0.1.
     Required by:
         project :app
         project :app > com.facebook.react:react-native:0.55.4
      > Skipped due to earlier error
   > Could not resolve javax.inject:javax.inject:1.
     Required by:
         project :app > com.facebook.react:react-native:0.55.4
      > Skipped due to earlier error
   > Could not resolve com.facebook.fbui.textlayoutbuilder:textlayoutbuilder:1.0                                                               .0.
     Required by:
         project :app > com.facebook.react:react-native:0.55.4
      > Skipped due to earlier error
   > Could not resolve com.facebook.fresco:fresco:1.3.0.
     Required by:
         project :app > com.facebook.react:react-native:0.55.4
      > Skipped due to earlier error
   > Could not resolve com.facebook.fresco:imagepipeline-okhttp3:1.3.0.
     Required by:
         project :app > com.facebook.react:react-native:0.55.4
      > Skipped due to earlier error
   > Could not resolve com.facebook.soloader:soloader:0.1.0.
     Required by:
         project :app > com.facebook.react:react-native:0.55.4
      > Skipped due to earlier error
   > Could not resolve com.google.code.findbugs:jsr305:3.0.0.
     Required by:
         project :app > com.facebook.react:react-native:0.55.4
      > Skipped due to earlier error
   > Could not resolve com.squareup.okhttp3:okhttp:3.6.0.
     Required by:
         project :app > com.facebook.react:react-native:0.55.4
      > Skipped due to earlier error
   > Could not resolve com.squareup.okhttp3:okhttp-urlconnection:3.6.0.
     Required by:
         project :app > com.facebook.react:react-native:0.55.4
      > Skipped due to earlier error
   > Could not resolve com.squareup.okio:okio:1.13.0.
     Required by:
         project :app > com.facebook.react:react-native:0.55.4
      > Skipped due to earlier error
   > Could not resolve org.webkit:android-jsc:r174650.
     Required by:
         project :app > com.facebook.react:react-native:0.55.4
      > Skipped due to earlier error

* 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 4m 24s


Помогите исправить
Ответить с цитированием