chagaif95

Untitled

Jan 3rd, 2022
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.06 KB | None | 0 0
  1. C:\Users\cfriedlander\Desktop\temp\FairWallet\src>react-native run-android
  2. error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually:
  3. - react-native-qrcode-local-image (to unlink run: "react-native unlink react-native-qrcode-local-image")
  4. - react-native-camera (to unlink run: "react-native unlink react-native-camera")
  5. 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 l
  6. ibrary 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. (node:40036) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
  10. (Use `node --trace-warnings ...` to show where the warning was created)
  11. Jetifier found 1141 file(s) to forward-jetify. Using 16 workers...
  12. info Starting JS server...
  13. 'adb' is not recognized as an internal or external command,
  14. operable program or batch file.
  15. info Launching emulator...
  16. error Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`.
  17. warn Please launch an emulator manually or connect a device. Otherwise app may fail to launch.
  18. info Installing the app...
  19.  
  20. > Configure project :@react-native-community_async-storage
  21. NDK is missing a "platforms" directory.
  22. If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to C:\Users\cfriedlander\AppData\Local\Android\Sdk\ndk-bundle.
  23. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
  24.  
  25.  
  26. > Configure project :@react-native-community_netinfo
  27. NDK is missing a "platforms" directory.
  28. If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to C:\Users\cfriedlander\AppData\Local\Android\Sdk\ndk-bundle.
  29. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
  30.  
  31.  
  32. > Configure project :app
  33. NDK is missing a "platforms" directory.
  34. If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to C:\Users\cfriedlander\AppData\Local\Android\Sdk\ndk-bundle.
  35. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
  36.  
  37. Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
  38. Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
  39. Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
  40. Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
  41. Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
  42. Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
  43. Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
  44. Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
  45. Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
  46. Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
  47. NDK is missing a "platforms" directory.
  48. If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to C:\Users\cfriedlander\AppData\Local\Android\Sdk\ndk-bundle.
  49. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
  50.  
  51.  
  52. Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
  53. Use '--warning-mode all' to show the individual deprecation warnings.
  54. See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
  55.  
  56. FAILURE: Build failed with an exception.
  57.  
  58. * What went wrong:
  59. A problem occurred configuring project ':app'.
  60. > java.lang.NullPointerException (no error message)
  61.  
  62. * Try:
  63. 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.
  64.  
  65. * Get more help at https://help.gradle.org
  66.  
  67. BUILD FAILED in 18s
  68.  
  69. 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.
  70. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
  71.  
  72. FAILURE: Build failed with an exception.
  73.  
  74. * What went wrong:
  75. A problem occurred configuring project ':app'.
  76. > java.lang.NullPointerException (no error message)
  77.  
  78. * Try:
  79. 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.
  80.  
  81. * Get more help at https://help.gradle.org
  82.  
  83. BUILD FAILED in 18s
  84.  
  85. at checkExecSyncError (node:child_process:826:11)
  86. at execFileSync (node:child_process:864:15)
  87. at runOnAllDevices (C:\Users\cfriedlander\Desktop\temp\FairWallet\src\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:39)
  88. at processTicksAndRejections (node:internal/process/task_queues:96:5)
  89.  
  90.  
Advertisement
Add Comment
Please, Sign In to add comment