«React Native, Android» Я не могу запустить android проект после его извлечения, моя сборка перестала работать, когда я запускаю cmd реагировать-собственный запуск- android - PullRequest
0 голосов
/ 28 апреля 2020

У меня есть проект, использующий expo, он отлично работает, используя expo, когда я извлекаю его и запускаю с помощью android studio. Когда бы я ни вводил npm run android или response-native run- android, команды ему показывает мне ошибку, приведенную ниже. Можете ли вы помочь кому-нибудь помочь мне в этом вопросе.

  The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not 
  supported and may break the build.
  This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { 
   ... }' DSL if they specify explicit versions, even if the versions are equal.
  Please add the Kotlin plugin to the common parent project or the root project, then remove 
  the versions in the subprojects.
   If the parent project does not need the plugin, add 'apply false' to the plugin line.
   See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
    The Kotlin plugin was loaded in the following projects: ':expo-error-recovery', ':expo- 
   permissions'

  > Task :app:installDebug
  11:01:12 V/ddms: execute: running am get-config
  11:01:13 V/ddms: execute 'am get-config' on 'emulator-5554' : EOF hit. Read: -1
  11:01:13 V/ddms: execute: returning
  Installing APK 'app-debug.apk' on 'Nexus_5X_API_23(AVD) - 6.0' for app:debug
  11:01:13 D/app-debug.apk: Uploading app-debug.apk onto device 'emulator-5554'
  11:01:13 D/Device: Uploading file onto device 'emulator-5554'
  11:01:13 D/ddms: Reading file permision of 
  C:\xampp\htdocs\MyTest2App\android\app\build\outputs\apk\debug\app-debug.apk as: rwx------
  11:01:14 V/ddms: execute: running pm install -r -t "/data/local/tmp/app-debug.apk"
  11:01:15 V/ddms: execute 'pm install -r -t "/data/local/tmp/app-debug.apk"' on 'emulator- 
  5554' : 
  EOF hit. Read: -1
  11:01:15 V/ddms: execute: returning

  > Task :app:installDebug FAILED

  Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
  Use '--warning-mode all' to show the individual deprecation warnings.
...