Skip to content

Cannot run program "Android/sdk/cmdline-tools/latest/bin/sdkmanager": error=2, No such file or directory #7619

@retyui

Description

@retyui

🐛 Bug Report

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/i/all_work/thera/mobile/node_modules/react-native-navigation/lib/android/app/build.gradle' line: 177

* What went wrong:
A problem occurred evaluating project ':react-native-navigation'.
> Cannot run program "/Users/i/Library/Android/sdk/cmdline-tools/latest/bin/sdkmanager": error=2, No such file or directory

Have you read the Contributing Guidelines on issues?

(Write your answer here.)

To Reproduce

(Write your steps here:)

  1. Step 1...
  2. Step 2...
  3. Step 3...

Expected behavior

(Write what you thought would happen.)

Actual Behavior

(Write what happened. Add screenshots, if applicable.)

Your Environment

  • React Native Navigation version: 7.29.1
  • React Native version: 0.70.1
  • Platform(s) (iOS, Android, or both?): Android
  • Device info (Simulator/Device? OS version? Debug/Release?): Debug

Reproducible Demo

(Paste the link to an example repo and exact instructions to reproduce the issue.)

Are you willing to resolve this issue by submitting a Pull Request?

  • ✅   Yes, I have the time, and I know how to start.
  • ✖️   Yes, I have the time, but I don't know how to start. I would need guidance.
  • ✖️   No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions