Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.02 KB | None | 0 0
  1. warn Package react-native-device-info has been ignored because it contains invalid configuration. Reason: Cannot find module 'react-native-device-info/package.json'
  2. warn Package react-native-text-avatar has been ignored because it contains invalid configuration. Reason: Cannot find module 'react-native-text-avatar/package.json'
  3. error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually:
  4. - react-native-cardview (to unlink run: "react-native unlink react-native-cardview")
  5. - react-native-vector-icons (to unlink run: "react-native unlink react-native-vector-icons")
  6. This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via "react-native unlink <dependency>" and it will be included in your app automatically. If a library isn't compatible with autolinking, disregard this message and notify the library maintainers.
  7. Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md
  8. info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
  9. Jetifier found 1086 file(s) to forward-jetify. Using 8 workers...
  10. info Starting JS server...
  11. info Installing the app...
  12.  
  13. > Configure project :@react-native-firebase_app
  14. :@react-native-firebase_app:firebase.bom using default value: 24.1.0
  15. :@react-native-firebase_app package.json found at /home/dell/Documents/GIt/New GIt/developagung/node_modules/@react-native-firebase/app/package.json
  16. :@react-native-firebase_app:version set from package.json: 6.2.0 (6,2,0 - 6002000)
  17. :@react-native-firebase_app:android.compileSdk using custom value: 28
  18. :@react-native-firebase_app:android.targetSdk using custom value: 28
  19. :@react-native-firebase_app:android.minSdk using custom value: 16
  20. :@react-native-firebase_app:reactNativeAndroidDir /home/dell/Documents/GIt/New GIt/developagung/node_modules/react-native/android
  21.  
  22. > Configure project :@react-native-firebase_messaging
  23. :@react-native-firebase_messaging:firebase.bom using default value: 24.1.0
  24. :@react-native-firebase_messaging package.json found at /home/dell/Documents/GIt/New GIt/developagung/node_modules/@react-native-firebase/messaging/package.json
  25. :@react-native-firebase_messaging:version set from package.json: 6.2.0 (6,2,0 - 6002000)
  26. :@react-native-firebase_messaging:android.compileSdk using custom value: 28
  27. :@react-native-firebase_messaging:android.targetSdk using custom value: 28
  28. :@react-native-firebase_messaging:android.minSdk using custom value: 16
  29. :@react-native-firebase_messaging:reactNativeAndroidDir /home/dell/Documents/GIt/New GIt/developagung/node_modules/react-native/android
  30.  
  31. FAILURE: Build failed with an exception.
  32.  
  33. * What went wrong:
  34. Could not determine the dependencies of task ':app:preDebugBuild'.
  35. > Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
  36. > Could not resolve project :react-native-camera.
  37. Required by:
  38. project :app
  39. > Cannot choose between the following variants of project :react-native-camera:
  40. - generalDebugRuntimeElements
  41. - mlkitDebugRuntimeElements
  42. All of them match the consumer attributes:
  43. - Variant 'generalDebugRuntimeElements' capability DevelopAgung:react-native-camera:unspecified:
  44. - Unmatched attributes:
  45. - Found com.android.build.api.attributes.VariantAttr 'generalDebug' but wasn't required.
  46. - Found react-native-camera 'general' but wasn't required.
  47. - Compatible attributes:
  48. - Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
  49. - Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
  50. - Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
  51. - Variant 'mlkitDebugRuntimeElements' capability DevelopAgung:react-native-camera:unspecified:
  52. - Unmatched attributes:
  53. - Found com.android.build.api.attributes.VariantAttr 'mlkitDebug' but wasn't required.
  54. - Found react-native-camera 'mlkit' but wasn't required.
  55. - Compatible attributes:
  56. - Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
  57. - Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
  58. - Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
  59.  
  60. * Try:
  61. 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.
  62.  
  63. * Get more help at https://help.gradle.org
  64.  
  65. BUILD FAILED in 2s
  66.  
  67. 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.
  68. Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
  69.  
  70. FAILURE: Build failed with an exception.
  71.  
  72. * What went wrong:
  73. Could not determine the dependencies of task ':app:preDebugBuild'.
  74. > Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
  75. > Could not resolve project :react-native-camera.
  76. Required by:
  77. project :app
  78. > Cannot choose between the following variants of project :react-native-camera:
  79. - generalDebugRuntimeElements
  80. - mlkitDebugRuntimeElements
  81. All of them match the consumer attributes:
  82. - Variant 'generalDebugRuntimeElements' capability DevelopAgung:react-native-camera:unspecified:
  83. - Unmatched attributes:
  84. - Found com.android.build.api.attributes.VariantAttr 'generalDebug' but wasn't required.
  85. - Found react-native-camera 'general' but wasn't required.
  86. - Compatible attributes:
  87. - Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
  88. - Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
  89. - Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
  90. - Variant 'mlkitDebugRuntimeElements' capability DevelopAgung:react-native-camera:unspecified:
  91. - Unmatched attributes:
  92. - Found com.android.build.api.attributes.VariantAttr 'mlkitDebug' but wasn't required.
  93. - Found react-native-camera 'mlkit' but wasn't required.
  94. - Compatible attributes:
  95. - Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
  96. - Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
  97. - Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
  98.  
  99. * Try:
  100. 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.
  101.  
  102. * Get more help at https://help.gradle.org
  103.  
  104. BUILD FAILED in 2s
  105.  
  106. at checkExecSyncError (child_process.js:607:13)
  107. at execFileSync (child_process.js:627:13)
  108. at runOnAllDevices (/home/dell/Documents/GIt/New GIt/developagung/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:94:39)
  109. at buildAndRun (/home/dell/Documents/GIt/New GIt/developagung/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:158:41)
  110. at then.result (/home/dell/Documents/GIt/New GIt/developagung/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:125:12)
  111. at <anonymous>
  112. at process._tickCallback (internal/process/next_tick.js:189:7)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement