Guest User

Untitled

a guest
Aug 28th, 2020
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.71 KB | None | 0 0
  1. C:\Projects\MyApp-app-app>npx react-native run-android
  2. info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
  3. Jetifier found 1608 file(s) to forward-jetify. Using 8 workers...
  4. info JS server already running.
  5. info Installing the app...
  6.  
  7. > Configure project :app
  8.  
  9. Installing unimodules:
  10. unimodules-core@5.3.0 from C:\Projects\MyApp-app-app\node_modules\@unimodules\core
  11. unimodules-react-native-adapter@5.4.0 from C:\Projects\MyApp-app-app\node_modules\@unimodules\react-native-adapter
  12. expo-constants@9.1.1 from C:\Projects\MyApp-app-app\node_modules\expo-constants
  13. expo-error-recovery@1.2.1 from C:\Projects\MyApp-app-app\node_modules\expo-error-recovery
  14. expo-file-system@9.0.1 from C:\Projects\MyApp-app-app\node_modules\expo-file-system
  15. expo-font@8.2.2 from C:\Projects\MyApp-app-app\node_modules\expo-font
  16. expo-image-loader@1.1.1 from C:\Projects\MyApp-app-app\node_modules\expo-image-loader
  17. expo-keep-awake@8.2.1 from C:\Projects\MyApp-app-app\node_modules\expo-keep-awake
  18. expo-linear-gradient@8.2.1 from C:\Projects\MyApp-app-app\node_modules\expo-linear-gradient
  19. expo-location@8.2.1 from C:\Projects\MyApp-app-app\node_modules\expo-location
  20. expo-permissions@9.0.1 from C:\Projects\MyApp-app-app\node_modules\expo-permissions
  21. expo-splash-screen@0.5.0 from C:\Projects\MyApp-app-app\node_modules\expo-splash-screen
  22. expo-sqlite@8.2.1 from C:\Projects\MyApp-app-app\node_modules\expo-sqlite
  23. expo-task-manager@8.4.0 from C:\Projects\MyApp-app-app\node_modules\expo-task-manager
  24. expo-updates@0.2.14 from C:\Projects\MyApp-app-app\node_modules\expo-updates
  25. unimodules-app-loader@1.2.0 from C:\Projects\MyApp-app-app\node_modules\unimodules-app-loader
  26. unimodules-barcode-scanner-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-barcode-scanner-interface
  27. unimodules-camera-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-camera-interface
  28. unimodules-constants-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-constants-interface
  29. unimodules-face-detector-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-face-detector-interface
  30. unimodules-file-system-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-file-system-interface
  31. unimodules-font-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-font-interface
  32. unimodules-image-loader-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-image-loader-interface
  33. unimodules-permissions-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-permissions-interface
  34. unimodules-sensors-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-sensors-interface
  35. unimodules-task-manager-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-task-manager-interface
  36.  
  37. > Task :app:compileDebugJavaWithJavac FAILED
  38.  
  39. Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
  40. Use '--warning-mode all' to show the individual deprecation warnings.
  41. See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
  42. 489 actionable tasks: 2 executed, 487 up-to-date
  43. C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:39: error: cannot find symbol
  44. return BuildConfig.DEBUG;
  45. ^
  46. symbol: variable BuildConfig
  47. C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:56: error: cannot find symbol
  48. if (BuildConfig.DEBUG) {
  49. ^
  50. symbol: variable BuildConfig
  51. C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:56: error: illegal start of type
  52. if (BuildConfig.DEBUG) {
  53. ^
  54. C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:65: error: cannot find symbol
  55. if (BuildConfig.DEBUG) {
  56. ^
  57. symbol: variable BuildConfig
  58. C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:65: error: illegal start of type
  59. if (BuildConfig.DEBUG) {
  60. ^
  61. C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:83: error: cannot find symbol
  62. if (!BuildConfig.DEBUG) {
  63. ^
  64. symbol: variable BuildConfig
  65. location: class MainApplication
  66. C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:99: error: cannot find symbol
  67. if (BuildConfig.DEBUG) {
  68. ^
  69. symbol: variable BuildConfig
  70. location: class MainApplication
  71. C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:99: error: illegal start of type
  72. if (BuildConfig.DEBUG) {
  73. ^
  74. Note: C:\Projects\MyApp-app-app\android\app\src\debug\java\com\MyAppcourier\ReactNativeFlipper.java uses or overrides a deprecated API.
  75. Note: Recompile with -Xlint:deprecation for details.
  76. 8 errors
  77.  
  78. FAILURE: Build failed with an exception.
  79.  
  80. * What went wrong:
  81. Execution failed for task ':app:compileDebugJavaWithJavac'.
  82. > Compilation failed; see the compiler error output for details.
  83.  
  84. * Try:
  85. 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.
  86.  
  87. * Get more help at https://help.gradle.org
  88.  
  89. BUILD FAILED in 22s
  90.  
  91. error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbos
  92. e flag for more details.
  93. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
  94. C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:39: error: cannot find symbol
  95.  
  96.  
Add Comment
Please, Sign In to add comment