Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run-android command is stuck without giving any output #46489

Closed
im-notpua opened this issue Sep 13, 2024 · 4 comments
Closed

Run-android command is stuck without giving any output #46489

im-notpua opened this issue Sep 13, 2024 · 4 comments
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Platform: Android Android applications. Type: Too Old Version

Comments

@im-notpua
Copy link

im-notpua commented Sep 13, 2024

Description

Using npm version of react-native, when I run npx react-native run-android the command just gets stuck without any output. But somehow it works when I do npx react-native start and press a key. Even npx react-native run-ios works as expected.

This happens not only my PC but when the codebase is ported to another, still the result is same.

Steps to reproduce

  1. Create a new project using
npx react-native init test
  1. Go into the test directory and run the command
cd test
npx react-native run-android

React Native Version

0.75.3

Affected Platforms

Runtime - Android, Build - Linux

Output of npx react-native info

info Fetching system and libraries information...
System:
  OS: Linux 6.9 Slackware 15.0 x86_64 (post 15.0 -current) 15.0
  CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
  Memory: 9.86 GB / 15.38 GB
  Shell:
    version: 3.7.1
    path: /bin/fish
Binaries:
  Node:
    version: 20.15.0
    path: /usr/bin/node
  Yarn:
    version: 3.6.4
    path: /usr/bin/yarn
  npm:
    version: 10.7.0
    path: /usr/bin/npm
  Watchman: Not Found
SDKs:
  Android SDK:
    API Levels:
      - "34"
      - "35"
    Build Tools:
      - 34.0.0
      - 35.0.0
    System Images:
      - android-34 | Google APIs Intel x86_64 Atom
    Android NDK: Not Found
IDEs:
  Android Studio: AI-241.18034.62.2412.12266719
Languages:
  Java:
    version: 17.0.12
    path: /usr/local/lib64/jdk-17/bin/javac
  Ruby:
    version: 3.3.3
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.75.3
    wanted: 0.75.3
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

Stacktrace or Logs

(empty)

Reproducer

https://github.com/IMS-IIITH/frontend

Screenshots and Videos

ss

@react-native-bot
Copy link
Collaborator

⚠️ Too Old Version of React Native
ℹ️ It looks like your issue or the example you provided uses a Too Old Version of React Native.

Due to the number of issues we receive, we're currently only accepting new issues against one of the supported versions. Please upgrade to latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If you cannot upgrade, please open your issue on StackOverflow to get further community support.

@react-native-bot react-native-bot added Type: Too Old Version Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Sep 13, 2024
@react-native-bot
Copy link
Collaborator

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

@react-native-bot react-native-bot added the Platform: Android Android applications. label Sep 13, 2024
@react-native-bot
Copy link
Collaborator

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:

@react-native-bot
Copy link
Collaborator

⚠️ Too Old Version of React Native
ℹ️ It looks like your issue or the example you provided uses a Too Old Version of React Native.

Due to the number of issues we receive, we're currently only accepting new issues against one of the supported versions. Please upgrade to latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If you cannot upgrade, please open your issue on StackOverflow to get further community support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Platform: Android Android applications. Type: Too Old Version
Projects
None yet
Development

No branches or pull requests

2 participants