From 7b5491e2a3f0df0c6c8553d49dd06c2e1f5a779d Mon Sep 17 00:00:00 2001 From: riteshshukla04 Date: Fri, 12 Sep 2025 02:16:07 +0530 Subject: [PATCH 1/2] docs: update trouble shooting Screen --- docs/troubleshooting.md | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index a5cad6078f0..35373a3dd6f 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -104,36 +104,13 @@ Execution failed for task ':app:installDebug'. com.android.builder.testing.api.DeviceException: com.android.ddmlib.ShellCommandUnresponsiveException ``` -Try [downgrading your Gradle version to 1.2.3](https://github.com/facebook/react-native/issues/2720) in `android/build.gradle`. - -## react-native init hangs - -If you run into issues where running `npx react-native init` hangs in your system, try running it again in verbose mode and referring to [#2797](https://github.com/facebook/react-native/issues/2797) for common causes: - -```shell -npx react-native init --verbose +Restart the ADB server by running the following commands in your terminal: ``` - -When you're debugging a process or need to know a little more about the error being thrown, you may want to use the verbose option to output more logs and information to nail down your issue. - -Run the following command in your project's root directory. - - - - -```shell -npm run android -- --verbose +adb kill-server +adb start-server ``` - - -```shell -yarn android --verbose -``` - - - ## Unable to start react-native package manager (on Linux) From 2bb282317c53d7333773c7f8a4c35b55857427d4 Mon Sep 17 00:00:00 2001 From: riteshshukla04 Date: Fri, 12 Sep 2025 15:00:35 +0530 Subject: [PATCH 2/2] docs: lint-update --- docs/troubleshooting.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 35373a3dd6f..811302be504 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -105,13 +105,12 @@ Execution failed for task ':app:installDebug'. ``` Restart the ADB server by running the following commands in your terminal: + ``` adb kill-server adb start-server ``` - - ## Unable to start react-native package manager (on Linux) ### Case 1: Error "code":"ENOSPC","errno":"ENOSPC"