facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
119.2k stars 24.33k forks source link

Task 'installDebug' not found in project ':app' after upgrading to 0.71 #35838

Closed raza-jamil-reckon closed 1 year ago

raza-jamil-reckon commented 1 year ago

Description

Upgraded from 0.70.6 to 0.71 to fix this release issue but now I can't even run the app in debug on Android (iOS is all good).

Version

0.71

Output of npx react-native info

System: OS: macOS 12.5 CPU: (10) x64 Apple M1 Pro Memory: 39.25 MB / 32.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.17.0 - /var/folders/ln/nzcf4q192bs4zlkb4z874c7mfpqxjr/T/yarn--1673846933120-0.6159910237355888/node Yarn: 1.22.10 - /var/folders/ln/nzcf4q192bs4zlkb4z874c7mfpqxjr/T/yarn--1673846933120-0.6159910237355888/yarn npm: 8.15.0 - ~/.asdf/plugins/nodejs/shims/npm Watchman: 2023.01.09.00 - /usr/local/bin/watchman Managers: CocoaPods: Not Found SDKs: iOS SDK: Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1 Android SDK: Not Found IDEs: Android Studio: 2021.3 AI-213.7172.25.2113.9123335 Xcode: 14.2/14C18 - /usr/bin/xcodebuild Languages: Java: 11.0.16.1 - /Users/raza.jamil/.asdf/shims/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.0 => 0.71.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce

  1. Run app with yarn react-native run-android --variant=DevelopmentDebug --no-packager

Get the following error:

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

* What went wrong:
Task 'installDebug' not found in project ':app'.

My Android env is setup correctly as everything was working pre-upgrade. Here's just to make sure my paths are all correct:

echo $ANDROID_HOME                                                                                              1 ↵
/Users/raza.jamil/Library/Android/sdk

I know the build command is correct, here's the output of ./gradlew tasks: Screen Shot 2023-01-16 at 4 34 48 pm

If I run ./gradlew installDevelopmentDebug manually it all works well but then the app doesn't work on startup. I'm not sure of that's because run-anrdoid does some extra stuff or I've made a mistake. In any case, I'd like to run the app through run-android locally.

I've tried different combinations of gradle wrappers and com.android.tools.build:gradle but no luck. Any help would is appreciated.

Snack, code example, screenshot, or link to a repository

It's just the run-android command.

lorenzoangelini commented 1 year ago

Same problem after the upgrade to 0.71

lorenzoangelini commented 1 year ago

seems that -variant doesn't work

quocluongha commented 1 year ago

I'm also facing th same issue after upgrading to 0.71.0. I also tried to run ./gradlew installDevelopmentDebug and I got this issue

Screenshot 2023-01-16 at 5 36 18 PM
affansk commented 1 year ago

Same issue.

RalissonMattias commented 1 year ago

I have a similar problem

* What went wrong:
Could not determine the dependencies of task ':app:generateBundledResourcesHashDebug'.
> Task with path 'bundleDebugJsAndAssets' not found in project ':app'.
cortinico commented 1 year ago

Thanks for reporting this. This seems like a bug in the CLI not properly handling the --variant=DevelopmentDebug parameter.

The reproducer is:

  1. Create a project with npx react-native init RN071
  2. Edit android/app/build.gradle as follows:
android {
    // ...
+   flavorDimensions "version"
+   productFlavors {
+       demo {
+           dimension "version"
+           applicationIdSuffix ".demo"
+       }
+       full {
+           dimension "version"
+           applicationIdSuffix ".full"
+       }
+   }
}
  1. Run the following cd RN071 && yarn && yarn react-native run-android --variant FullDebug

Workaround

For the time being you should be able to do the following: cd android && ./gradlew :app:installFullDebug and then launch the app manually or via adb.

Folks on the CLI are looking into it.

cortinico commented 1 year ago

Could not determine the dependencies of task ':app:generateBundledResourcesHashDebug'.

Task with path 'bundleDebugJsAndAssets' not found in project ':app'.

@quocluong2001 @RalissonMattias your issue seems slightly different. Are you using Microsoft's Codepush? If so this could be the issue (cc @kelset).

RalissonMattias commented 1 year ago

Could not determine the dependencies of task ':app:generateBundledResourcesHashDebug'.

Task with path 'bundleDebugJsAndAssets' not found in project ':app'.

@quocluong2001 @RalissonMattias your issue seems slightly different. Are you using Microsoft's Codepush? If so this could be the issue (cc @kelset).

@cortinico Thanks exactly I am using CodePush

cortinico commented 1 year ago

@cortinico Thanks exactly I am using CodePush

Ok then let's open an issue on https://github.com/microsoft/react-native-code-push/. We can either fix it on our end or ask codepush to release a version that is 0.71 compatible.

kelset commented 1 year ago

lmk once the issue on react-native-code-push is open and I can also try to ping them internally

quocluongha commented 1 year ago

Thanks for the workaround @cortinico. There is an open issue #2418 on codepush right now.

adamTrz commented 1 year ago

Hi @raza-jamil-reckon we've switched from variant to mode with CLI release. That being said, variant should still work, looking into fixing it right now!

Please try this instead:

❯ yarn react-native run-android --mode=DevelopmentDebug --no-packager
raza-jamil-reckon commented 1 year ago

Hi @raza-jamil-reckon we've switched from variant to mode with CLI release. That being said, variant should still work, looking into fixing it right now!

Please try this instead:

❯ yarn react-native run-android --mode=DevelopmentDebug --no-packager

Hi @adamTrz, thanks for your help. Just tried with mode and it's stuck on :app:createBundleDevelopmentDebugJsAndAssets task forever. Usually doesn't take more than a min or 2. Is this a known issue as well?

Screen Shot 2023-01-17 at 9 39 16 am

adamTrz commented 1 year ago

Hi @raza-jamil-reckon we've switched from variant to mode with CLI release. That being said, variant should still work, looking into fixing it right now! Please try this instead:

❯ yarn react-native run-android --mode=DevelopmentDebug --no-packager

Hi @adamTrz, thanks for your help. Just tried with mode and it's stuck on :app:createBundleDevelopmentDebugJsAndAssets task forever. Usually doesn't take more than a min or 2. Is this a known issue as well?

Screen Shot 2023-01-17 at 9 39 16 am

Super strange... How it resolved? Any stacktrace or errors? Also, can you please try it with --verbose flag? Maybe it will shed some light... 💡

raza-jamil-reckon commented 1 year ago

Super strange... How it resolved? Any stacktrace or errors?

Does not resolve, left it for 40 min this time. Never seen this happen before, no errors or anything.

Screen Shot 2023-01-18 at 11 30 38 am
harrisrobin commented 1 year ago

I created a patch to fix it until @adamTrz 's fix is merged: @react-native-community+cli-platform-android+10.0.0.patch

Simply include it in patches/@react-native-community+cli-platform-android+10.0.0.patch and run patch-package.

adamTrz commented 1 year ago

I created a patch to fix it until @adamTrz 's fix is merged: @react-native-community+cli-platform-android+10.0.0.patch

Simply include it in patches/@react-native-community+cli-platform-android+10.0.0.patch and run patch-package.

Fix was merged and should be released in this week I hope 💪

tapz commented 1 year ago

Does 0.71.1 fix this?

affansk commented 1 year ago

@tapz upgrade android cli

kelset commented 1 year ago

Does 0.71.1 fix this?

yes, 0.71.1 fixes this. Please update to it and let us know if it works fine now

raza-jamil-reckon commented 1 year ago

@adamTrz Hi, thanks for the fix. I just tried on 0.71.1 and now running with --variant is doing the same thing as --mode which is it hangs on app:createBundleDevelopmentDebugJsAndAssets task and never fails/completes.

How can I get some info out of it? Is there some verbose flag I can provide? Should I log this as a separate issue?

adamTrz commented 1 year ago

@adamTrz Hi, thanks for the fix. I just tried on 0.71.1 and now running with --variant is doing the same thing as --mode which is it hangs on app:createBundleDevelopmentDebugJsAndAssets task and never fails/completes.

How can I get some info out of it? Is there some verbose flag I can provide? Should I log this as a separate issue?

Correct, you can use --verbose and see how it goes?

raza-jamil-reckon commented 1 year ago

@adamTrz Hi, thanks for the fix. I just tried on 0.71.1 and now running with --variant is doing the same thing as --mode which is it hangs on app:createBundleDevelopmentDebugJsAndAssets task and never fails/completes. How can I get some info out of it? Is there some verbose flag I can provide? Should I log this as a separate issue?

Correct, you can use --verbose and see how it goes?

@adamTrz It's stuck writing the bundle output. If I check those directories I can see the files are there. Screen Shot 2023-01-24 at 11 19 53 am

cortinico commented 1 year ago

is it hangs on app:createBundleDevelopmentDebugJsAndAssets task and never fails/completes.

Can you please try to:

cd android && ./gradlew --stop && ./gradlew :app:createBundleDevelopmentDebugJsAndAssets --info

and copy here the whole log @raza-jamil-reckon ?

raza-jamil-reckon commented 1 year ago

Hi @cortinico, thanks for looking into this. I've been trying to get to the bottom of this but it's truly bizarre.

Running ./gradlew --stop && ./gradlew :app:createBundleDevelopmentDebugJsAndAssets --info succeeds and if I try to run the app afterwards it runs successfully. However, if I do a fresh install and try to run the app it gets stuck on app:createBundleDevelopmentDebugJsAndAssets. It might have something to do with ./gradlew --stop?

Here's the full output:

  ./gradlew --stop && ./gradlew :app:createBundleDevelopmentDebugJsAndAssets --info                             1 ↵
Stopping Daemon(s)
1 Daemon stopped
Initialized native services in: /Users/raza.jamil/.gradle/native
Initialized jansi services in: /Users/raza.jamil/.gradle/native
Removing 0 daemon stop events from registry
Previous Daemon (77082) stopped at Mon Jan 30 12:25:51 AEDT 2023 stop command received
Previous Daemon (70811) stopped at Mon Jan 30 11:34:48 AEDT 2023 after running out of JVM memory
Starting a Gradle Daemon, 2 stopped Daemons could not be reused, use --status for details
Starting process 'Gradle build daemon'. Working directory: /Users/raza.jamil/.gradle/daemon/7.5.1 Command: /Users/raza.jamil/.asdf/installs/java/adoptopenjdk-11.0.16+101/bin/java -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.prefs/java.util.prefs=ALL-UNNAMED --add-opens java.prefs/java.util.prefs=ALL-UNNAMED --add-opens java.base/java.nio.charset=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED -Xmx2048m -Dfile.encoding=UTF-8 -Duser.country=AU -Duser.language=en -Duser.variant -cp /Users/raza.jamil/.gradle/wrapper/dists/gradle-7.5.1-all/1ehga6e77gqps5uk2kc5kf1vc/gradle-7.5.1/lib/gradle-launcher-7.5.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 7.5.1
Successfully started process 'Gradle build daemon'
An attempt to start the daemon took 1.513 secs.
The client will now receive all logging from the daemon (pid: 5280). The daemon log file: /Users/raza.jamil/.gradle/daemon/7.5.1/daemon-5280.out.log
Starting build in new daemon [memory: 2 GiB]
Using 10 worker leases.
Configuration on demand is an incubating feature.
Watching the file system is configured to be enabled if available
Now considering [/Users/raza.jamil/dev/reckon-mobile/apps/payroll/android] as hierarchies to watch
File system watching is active
Starting Build
:ReactNative:Automatically adding native module '@appcues/react-native'
:ReactNative:Automatically adding native module '@react-native-async-storage/async-storage'
:ReactNative:Automatically adding native module '@react-native-clipboard/clipboard'
:ReactNative:Automatically adding native module '@react-native-community/datetimepicker'
:ReactNative:Automatically adding native module '@react-native-community/masked-view'
:ReactNative:Automatically adding native module '@react-native-community/progress-bar-android'
:ReactNative:Automatically adding native module '@react-native-community/progress-view'
:ReactNative:Skipping native module '@react-native-community/segmented-control'
:ReactNative:Automatically adding native module '@react-native-firebase/analytics'
:ReactNative:Automatically adding native module '@react-native-firebase/app'
:ReactNative:Automatically adding native module '@react-native-picker/picker'
:ReactNative:Automatically adding native module '@sentry/react-native'
:ReactNative:Automatically adding native module 'jail-monkey'
:ReactNative:Automatically adding native module 'launchdarkly-react-native-client-sdk'
:ReactNative:Automatically adding native module 'newrelic-react-native-agent'
:ReactNative:Automatically adding native module 'react-native-background-timer'
:ReactNative:Automatically adding native module 'react-native-bootsplash'
:ReactNative:Automatically adding native module 'react-native-branch'
:ReactNative:Automatically adding native module 'react-native-config'
:ReactNative:Automatically adding native module 'react-native-device-info'
:ReactNative:Automatically adding native module 'react-native-gesture-handler'
:ReactNative:Automatically adding native module 'react-native-iap'
:ReactNative:Automatically adding native module 'react-native-intercom'
:ReactNative:Automatically adding native module 'react-native-keychain'
:ReactNative:Automatically adding native module 'react-native-reanimated'
:ReactNative:Automatically adding native module 'react-native-restart'
:ReactNative:Automatically adding native module 'react-native-safe-area-context'
:ReactNative:Automatically adding native module 'react-native-screens'
:ReactNative:Automatically adding native module 'react-native-svg'
:ReactNative:Automatically adding native module 'react-native-touch-id'
:ReactNative:Automatically adding native module 'sp-react-native-in-app-updates'
Settings evaluated using settings file '/Users/raza.jamil/dev/reckon-mobile/apps/payroll/android/settings.gradle'.
Now considering [/Users/raza.jamil/dev/reckon-mobile/apps/payroll/node_modules/react-native-gradle-plugin, /Users/raza.jamil/dev/reckon-mobile/apps/payroll/android] as hierarchies to watch
Skipping Kotlin DSL script compilation (Settings/TopLevel/stage1) as it is up-to-date.
Skipping Kotlin DSL script compilation (Settings/TopLevel/stage2) as it is up-to-date.
Projects loaded. Root project using build file '/Users/raza.jamil/dev/reckon-mobile/apps/payroll/android/build.gradle'.
Included projects: [root project 'ReckonPayrollLiteApp', project ':app', project ':appcues_react-native', project ':jail-monkey', project ':launchdarkly-react-native-client-sdk', project ':newrelic-react-native-agent', project ':react-native-async-storage_async-storage', project ':react-native-background-timer', project ':react-native-bootsplash', project ':react-native-branch', project ':react-native-clipboard_clipboard', project ':react-native-community_datetimepicker', project ':react-native-community_masked-view', project ':react-native-community_progress-bar-android', project ':react-native-community_progress-view', project ':react-native-config', project ':react-native-device-info', project ':react-native-firebase_analytics', project ':react-native-firebase_app', project ':react-native-gesture-handler', project ':react-native-iap', project ':react-native-intercom', project ':react-native-keychain', project ':react-native-picker_picker', project ':react-native-reanimated', project ':react-native-restart', project ':react-native-safe-area-context', project ':react-native-screens', project ':react-native-svg', project ':react-native-touch-id', project ':sentry_react-native', project ':sp-react-native-in-app-updates']

> Configure project :react-native-gradle-plugin
Evaluating project ':react-native-gradle-plugin' using build file '/Users/raza.jamil/dev/reckon-mobile/apps/payroll/node_modules/react-native-gradle-plugin/build.gradle.kts'.
Caching disabled for Kotlin DSL plugin accessors for classpath '9167ebb25b7d64fece31556bc5d0e687' because:
  Build cache is disabled
Skipping Kotlin DSL plugin accessors for classpath '9167ebb25b7d64fece31556bc5d0e687' as it is up-to-date.
Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage1) because:
  Build cache is disabled
Skipping Kotlin DSL script compilation (Project/TopLevel/stage1) as it is up-to-date.
kotlin scripting plugin: created the scripting discovery configuration: kotlinScriptDef
kotlin scripting plugin: created the scripting discovery configuration: testKotlinScriptDef
Caching disabled for Kotlin DSL accessors for project ':react-native-gradle-plugin' because:
  Build cache is disabled
Skipping Kotlin DSL accessors for project ':react-native-gradle-plugin' as it is up-to-date.
Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage2) because:
  Build cache is disabled
Skipping Kotlin DSL script compilation (Project/TopLevel/stage2) as it is up-to-date.
Registering project ':react-native-gradle-plugin' in composite build. Will substitute for module 'com.facebook.react:react-native-gradle-plugin'.
Project name matched ':app'
Resolve mutations for :react-native-gradle-plugin:compileKotlin (Thread[Execution worker,5,main]) started.
Resolve mutations for :react-native-gradle-plugin:compileKotlin (Thread[Execution worker,5,main]) completed. Took 0.014 secs.

> Task :react-native-gradle-plugin:compileKotlin UP-TO-DATE
Watching 1 directory hierarchies to track changes
Caching disabled for task ':react-native-gradle-plugin:compileKotlin' because:
  Build cache is disabled
Skipping task ':react-native-gradle-plugin:compileKotlin' as it is up-to-date.
Resolve mutations for :react-native-gradle-plugin:compileJava (Thread[Execution worker Thread 3,5,main]) started.
Resolve mutations for :react-native-gradle-plugin:compileJava (Thread[Execution worker Thread 3,5,main]) completed. Took 0.002 secs.

> Task :react-native-gradle-plugin:compileJava NO-SOURCE
Skipping task ':react-native-gradle-plugin:compileJava' as it has no source files and no previous output files.
Resolve mutations for :react-native-gradle-plugin:pluginDescriptors (Thread[Execution worker Thread 3,5,main]) started.
Resolve mutations for :react-native-gradle-plugin:pluginDescriptors (Thread[Execution worker Thread 3,5,main]) completed. Took 0.0 secs.

> Task :react-native-gradle-plugin:pluginDescriptors UP-TO-DATE
Caching disabled for task ':react-native-gradle-plugin:pluginDescriptors' because:
  Build cache is disabled
Skipping task ':react-native-gradle-plugin:pluginDescriptors' as it is up-to-date.
Resolve mutations for :react-native-gradle-plugin:processResources (Thread[Execution worker Thread 3,5,main]) started.
Resolve mutations for :react-native-gradle-plugin:processResources (Thread[Execution worker Thread 3,5,main]) completed. Took 0.001 secs.

> Task :react-native-gradle-plugin:processResources UP-TO-DATE
Caching disabled for task ':react-native-gradle-plugin:processResources' because:
  Build cache is disabled
Skipping task ':react-native-gradle-plugin:processResources' as it is up-to-date.
Resolve mutations for :react-native-gradle-plugin:classes (Thread[Execution worker Thread 3,5,main]) started.
Resolve mutations for :react-native-gradle-plugin:classes (Thread[Execution worker Thread 3,5,main]) completed. Took 0.0 secs.

> Task :react-native-gradle-plugin:classes UP-TO-DATE
Skipping task ':react-native-gradle-plugin:classes' as it has no actions.
Resolve mutations for :react-native-gradle-plugin:inspectClassesForKotlinIC (Thread[Execution worker Thread 3,5,main]) started.
Resolve mutations for :react-native-gradle-plugin:inspectClassesForKotlinIC (Thread[Execution worker Thread 3,5,main]) completed. Took 0.002 secs.

> Task :react-native-gradle-plugin:inspectClassesForKotlinIC UP-TO-DATE
Caching disabled for task ':react-native-gradle-plugin:inspectClassesForKotlinIC' because:
  Build cache is disabled
Skipping task ':react-native-gradle-plugin:inspectClassesForKotlinIC' as it is up-to-date.
Resolve mutations for :react-native-gradle-plugin:jar (Thread[Execution worker Thread 3,5,main]) started.
Resolve mutations for :react-native-gradle-plugin:jar (Thread[Execution worker Thread 3,5,main]) completed. Took 0.002 secs.
producer locations for task group 0 (Thread[Execution worker Thread 2,5,main]) started.
producer locations for task group 0 (Thread[Execution worker Thread 2,5,main]) completed. Took 0.0 secs.

> Task :react-native-gradle-plugin:jar UP-TO-DATE
Caching disabled for task ':react-native-gradle-plugin:jar' because:
  Build cache is disabled
Skipping task ':react-native-gradle-plugin:jar' as it is up-to-date.

> Configure project :
Evaluating root project 'ReckonPayrollLiteApp' using build file '/Users/raza.jamil/dev/reckon-mobile/apps/payroll/android/build.gradle'.
Found project 'project :react-native-gradle-plugin' as substitute for module 'com.facebook.react:react-native-gradle-plugin'.
:react-native-gradle-plugin:compileKotlin (Thread[included builds,5,main]) started.
:react-native-gradle-plugin:compileKotlin (Thread[included builds,5,main]) completed. Took 0.648 secs.
:react-native-gradle-plugin:compileJava (Thread[included builds,5,main]) started.
:react-native-gradle-plugin:compileJava (Thread[included builds,5,main]) completed. Took 0.012 secs.
:react-native-gradle-plugin:pluginDescriptors (Thread[included builds,5,main]) started.
:react-native-gradle-plugin:pluginDescriptors (Thread[included builds,5,main]) completed. Took 0.012 secs.
:react-native-gradle-plugin:processResources (Thread[included builds,5,main]) started.
:react-native-gradle-plugin:processResources (Thread[included builds,5,main]) completed. Took 0.01 secs.
:react-native-gradle-plugin:classes (Thread[included builds,5,main]) started.
:react-native-gradle-plugin:classes (Thread[included builds,5,main]) completed. Took 0.001 secs.
:react-native-gradle-plugin:inspectClassesForKotlinIC (Thread[included builds,5,main]) started.
:react-native-gradle-plugin:inspectClassesForKotlinIC (Thread[included builds,5,main]) completed. Took 0.014 secs.
:react-native-gradle-plugin:jar (Thread[included builds,5,main]) started.
:react-native-gradle-plugin:jar (Thread[included builds,5,main]) completed. Took 0.013 secs.

> Configure project :app
Evaluating project ':app' using build file '/Users/raza.jamil/dev/reckon-mobile/apps/payroll/android/app/build.gradle'.
Reading env from: .env
:ReactNative:Automatically adding native module '@appcues/react-native'
:ReactNative:Automatically adding native module '@react-native-async-storage/async-storage'
:ReactNative:Automatically adding native module '@react-native-clipboard/clipboard'
:ReactNative:Automatically adding native module '@react-native-community/datetimepicker'
:ReactNative:Automatically adding native module '@react-native-community/masked-view'
:ReactNative:Automatically adding native module '@react-native-community/progress-bar-android'
:ReactNative:Automatically adding native module '@react-native-community/progress-view'
:ReactNative:Skipping native module '@react-native-community/segmented-control'
:ReactNative:Automatically adding native module '@react-native-firebase/analytics'
:ReactNative:Automatically adding native module '@react-native-firebase/app'
:ReactNative:Automatically adding native module '@react-native-picker/picker'
:ReactNative:Automatically adding native module '@sentry/react-native'
:ReactNative:Automatically adding native module 'jail-monkey'
:ReactNative:Automatically adding native module 'launchdarkly-react-native-client-sdk'
:ReactNative:Automatically adding native module 'newrelic-react-native-agent'
:ReactNative:Automatically adding native module 'react-native-background-timer'
:ReactNative:Automatically adding native module 'react-native-bootsplash'
:ReactNative:Automatically adding native module 'react-native-branch'
:ReactNative:Automatically adding native module 'react-native-config'
:ReactNative:Automatically adding native module 'react-native-device-info'
:ReactNative:Automatically adding native module 'react-native-gesture-handler'
:ReactNative:Automatically adding native module 'react-native-iap'
:ReactNative:Automatically adding native module 'react-native-intercom'
:ReactNative:Automatically adding native module 'react-native-keychain'
:ReactNative:Automatically adding native module 'react-native-reanimated'
:ReactNative:Automatically adding native module 'react-native-restart'
:ReactNative:Automatically adding native module 'react-native-safe-area-context'
:ReactNative:Automatically adding native module 'react-native-screens'
:ReactNative:Automatically adding native module 'react-native-svg'
:ReactNative:Automatically adding native module 'react-native-touch-id'
:ReactNative:Automatically adding native module 'sp-react-native-in-app-updates'
Task name matched 'createBundleDevelopmentDebugJsAndAssets'
Selected primary task ':app:createBundleDevelopmentDebugJsAndAssets' from project :app
All projects evaluated.
Tasks to be executed: [task ':app:createBundleDevelopmentDebugJsAndAssets']
Tasks that were excluded: []
Analytics other plugin to proto: Unknown plugin type org.gradle.api.plugins.JvmEcosystemPlugin expected enum ORG_GRADLE_API_PLUGINS_JVMECOSYSTEMPLUGIN
Analytics other plugin to proto: Unknown plugin type org.gradle.api.plugins.JavaBasePlugin$Inject expected enum ORG_GRADLE_API_PLUGINS_JAVABASEPLUGIN$INJECT
Analytics other plugin to proto: Unknown plugin type com.facebook.react.ReactPlugin expected enum COM_FACEBOOK_REACT_REACTPLUGIN
Resolve mutations for :app:createBundleDevelopmentDebugJsAndAssets (Thread[Execution worker Thread 6,5,main]) started.
Resolve mutations for :app:createBundleDevelopmentDebugJsAndAssets (Thread[Execution worker Thread 6,5,main]) completed. Took 0.006 secs.
:app:createBundleDevelopmentDebugJsAndAssets (Thread[Execution worker Thread 2,5,main]) started.
producer locations for task group 0 (Thread[Execution worker Thread 4,5,main]) started.
producer locations for task group 0 (Thread[Execution worker Thread 4,5,main]) completed. Took 0.001 secs.

> Task :app:createBundleDevelopmentDebugJsAndAssets
Deleting stale output file: /Users/raza.jamil/dev/reckon-mobile/apps/payroll/android/app/build/generated/sourcemaps/react/developmentDebug
Deleting stale output file: /Users/raza.jamil/dev/reckon-mobile/apps/payroll/android/app/build/generated/res/react/developmentDebug
Deleting stale output file: /Users/raza.jamil/dev/reckon-mobile/apps/payroll/android/app/build/ASSETS/createBundleDevelopmentDebugJsAndAssets
Deleting stale output file: /Users/raza.jamil/dev/reckon-mobile/apps/payroll/android/app/build/intermediates/sourcemaps/react/developmentDebug
Caching disabled for task ':app:createBundleDevelopmentDebugJsAndAssets' because:
  Build cache is disabled
Task ':app:createBundleDevelopmentDebugJsAndAssets' is not up-to-date because:
  No history is available.
Starting process 'command 'node''. Working directory: /Users/raza.jamil/dev/reckon-mobile/apps/payroll Command: node /Users/raza.jamil/dev/reckon-mobile/apps/payroll/node_modules/react-native/cli.js bundle --platform android --dev false --reset-cache --entry-file /Users/raza.jamil/dev/reckon-mobile/apps/payroll/index.js --bundle-output /Users/raza.jamil/dev/reckon-mobile/apps/payroll/android/app/build/ASSETS/createBundleDevelopmentDebugJsAndAssets/index.android.bundle --assets-dest /Users/raza.jamil/dev/reckon-mobile/apps/payroll/android/app/build/generated/res/react/developmentDebug --sourcemap-output /Users/raza.jamil/dev/reckon-mobile/apps/payroll/android/app/build/generated/sourcemaps/react/developmentDebug/index.android.bundle.map --minify true --verbose
Successfully started process 'command 'node''
warn Package @sentry/react-native contains invalid configuration: "dependency.platforms.ios.sharedLibraries" is not allowed,"dependency.hooks" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
warning: the transform cache was reset.
                Welcome to Metro v0.73.7
              Fast - Scalable - Integrated

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

Waiting for Watchman `query` (10s)...
Waiting for Watchman `query` (30s)...
warning: Watchman `query` returned a warning: Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

Watchman `query` finished after 37.6s.
Recrawled this watch 37 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/raza.jamil/dev/reckon-mobile' ; watchman watch-project '/Users/raza.jamil/dev/reckon-mobile'`

info Writing bundle output to:, /Users/raza.jamil/dev/reckon-mobile/apps/payroll/android/app/build/ASSETS/createBundleDevelopmentDebugJsAndAssets/index.android.bundle
info Writing sourcemap output to:, /Users/raza.jamil/dev/reckon-mobile/apps/payroll/android/app/build/generated/sourcemaps/react/developmentDebug/index.android.bundle.map
info Done writing bundle output
info Done writing sourcemap output
info Copying 17 asset files
info Done copying assets
Watching 2 directory hierarchies to track changes
:app:createBundleDevelopmentDebugJsAndAssets (Thread[Execution worker Thread 2,5,main]) completed. Took 1 mins 43.403 secs.

BUILD SUCCESSFUL in 2m 12s
6 actionable tasks: 1 executed, 5 up-to-date
Watched directory hierarchies: [/Users/raza.jamil/dev/reckon-mobile/apps/payroll/node_modules/react-native-gradle-plugin, /Users/raza.jamil/dev/reckon-mobile/apps/payroll/android]
cortinico commented 1 year ago

Previous Daemon (70811) stopped at Mon Jan 30 11:34:48 AEDT 2023 after running out of JVM memory

It's definitely something related to your local machine. Specifically your daemon are running out of memory. The --stop execution kills all of them so that's probably why it's green afterwards.

I would suggest you increase the memory used by Gradle using the gradle.properties file in your android folder: https://github.com/facebook/react-native/blob/e91e468edc925ae7f3a44b041b616fde08ee957f/template/android/gradle.properties#L13

You can use the configuration as suggested here: https://docs.gradle.org/current/userguide/build_environment.html#sec:configuring_jvm_memory

raza-jamil-reckon commented 1 year ago

Previous Daemon (70811) stopped at Mon Jan 30 11:34:48 AEDT 2023 after running out of JVM memory

It's definitely something related to your local machine. Specifically your daemon are running out of memory. The --stop execution kills all of them so that's probably why it's green afterwards.

I would suggest you increase the memory used by Gradle using the gradle.properties file in your android folder:

https://github.com/facebook/react-native/blob/e91e468edc925ae7f3a44b041b616fde08ee957f/template/android/gradle.properties#L13

You can use the configuration as suggested here: https://docs.gradle.org/current/userguide/build_environment.html#sec:configuring_jvm_memory

@cortinico Thanks, although I'm already using the recommended settings I think you're right. I'll do some digging on my end.

nppull commented 8 months ago

Hi @raza-jamil-reckon we've switched from variant to mode with CLI release. That being said, variant should still work, looking into fixing it right now!

Please try this instead:

❯ yarn react-native run-android --mode=DevelopmentDebug --no-packager

thankyou @adamTrz

--mode work for me <3

krushisyngenta commented 6 months ago

Delete the package lock file and then npm i --legacy-peer-deps

cd android ./gradlew tasks ./gradlew app:installDevDebug -PreactNativeDevServerPort=8081