Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Projects\MyApp-app-app>npx react-native run-android
- info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
- Jetifier found 1608 file(s) to forward-jetify. Using 8 workers...
- info JS server already running.
- info Installing the app...
- > Configure project :app
- Installing unimodules:
- unimodules-core@5.3.0 from C:\Projects\MyApp-app-app\node_modules\@unimodules\core
- unimodules-react-native-adapter@5.4.0 from C:\Projects\MyApp-app-app\node_modules\@unimodules\react-native-adapter
- expo-constants@9.1.1 from C:\Projects\MyApp-app-app\node_modules\expo-constants
- expo-error-recovery@1.2.1 from C:\Projects\MyApp-app-app\node_modules\expo-error-recovery
- expo-file-system@9.0.1 from C:\Projects\MyApp-app-app\node_modules\expo-file-system
- expo-font@8.2.2 from C:\Projects\MyApp-app-app\node_modules\expo-font
- expo-image-loader@1.1.1 from C:\Projects\MyApp-app-app\node_modules\expo-image-loader
- expo-keep-awake@8.2.1 from C:\Projects\MyApp-app-app\node_modules\expo-keep-awake
- expo-linear-gradient@8.2.1 from C:\Projects\MyApp-app-app\node_modules\expo-linear-gradient
- expo-location@8.2.1 from C:\Projects\MyApp-app-app\node_modules\expo-location
- expo-permissions@9.0.1 from C:\Projects\MyApp-app-app\node_modules\expo-permissions
- expo-splash-screen@0.5.0 from C:\Projects\MyApp-app-app\node_modules\expo-splash-screen
- expo-sqlite@8.2.1 from C:\Projects\MyApp-app-app\node_modules\expo-sqlite
- expo-task-manager@8.4.0 from C:\Projects\MyApp-app-app\node_modules\expo-task-manager
- expo-updates@0.2.14 from C:\Projects\MyApp-app-app\node_modules\expo-updates
- unimodules-app-loader@1.2.0 from C:\Projects\MyApp-app-app\node_modules\unimodules-app-loader
- unimodules-barcode-scanner-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-barcode-scanner-interface
- unimodules-camera-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-camera-interface
- unimodules-constants-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-constants-interface
- unimodules-face-detector-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-face-detector-interface
- unimodules-file-system-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-file-system-interface
- unimodules-font-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-font-interface
- unimodules-image-loader-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-image-loader-interface
- unimodules-permissions-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-permissions-interface
- unimodules-sensors-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-sensors-interface
- unimodules-task-manager-interface@5.2.1 from C:\Projects\MyApp-app-app\node_modules\unimodules-task-manager-interface
- > Task :app:compileDebugJavaWithJavac FAILED
- Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
- Use '--warning-mode all' to show the individual deprecation warnings.
- See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
- 489 actionable tasks: 2 executed, 487 up-to-date
- C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:39: error: cannot find symbol
- return BuildConfig.DEBUG;
- ^
- symbol: variable BuildConfig
- C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:56: error: cannot find symbol
- if (BuildConfig.DEBUG) {
- ^
- symbol: variable BuildConfig
- C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:56: error: illegal start of type
- if (BuildConfig.DEBUG) {
- ^
- C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:65: error: cannot find symbol
- if (BuildConfig.DEBUG) {
- ^
- symbol: variable BuildConfig
- C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:65: error: illegal start of type
- if (BuildConfig.DEBUG) {
- ^
- C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:83: error: cannot find symbol
- if (!BuildConfig.DEBUG) {
- ^
- symbol: variable BuildConfig
- location: class MainApplication
- C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:99: error: cannot find symbol
- if (BuildConfig.DEBUG) {
- ^
- symbol: variable BuildConfig
- location: class MainApplication
- C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:99: error: illegal start of type
- if (BuildConfig.DEBUG) {
- ^
- Note: C:\Projects\MyApp-app-app\android\app\src\debug\java\com\MyAppcourier\ReactNativeFlipper.java uses or overrides a deprecated API.
- Note: Recompile with -Xlint:deprecation for details.
- 8 errors
- FAILURE: Build failed with an exception.
- * What went wrong:
- Execution failed for task ':app:compileDebugJavaWithJavac'.
- > Compilation failed; see the compiler error output for details.
- * Try:
- 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.
- * Get more help at https://help.gradle.org
- BUILD FAILED in 22s
- 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
- e flag for more details.
- Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
- C:\Projects\MyApp-app-app\android\app\src\main\java\com\MyAppcourier\MainApplication.java:39: error: cannot find symbol
Add Comment
Please, Sign In to add comment