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

please Help me I can't fix this error #2401

Closed
SparrowCoding opened this issue May 27, 2024 · 3 comments
Closed

please Help me I can't fix this error #2401

SparrowCoding opened this issue May 27, 2024 · 3 comments
Labels
question Further information is requested

Comments

@SparrowCoding
Copy link

I use react native first time I can't fix it
Android
✖ Adb - No devices and/or emulators connected. Please create emulator with Android Studio or connect Android device.
✓ JDK - Required to compile Java code
✓ Android Studio - Required for building and installing your app on Android
✖ Android SDK - Required for building and installing your app on Android

  • Versions found: N/A
  • Version supported: 33.0.0
    ✓ ANDROID_HOME - Environment variable that points to your Android SDK installation

and "adb devices" > adb devices
List of devices attached

what can i do for it fix the error
Plsease help me I've been staying up all night for two days to fix this error.

@SparrowCoding SparrowCoding added the question Further information is requested label May 27, 2024
@BenSalvesen
Copy link

hey, not sure if this will help but for me, if I do not have device turned on through Android studio and then I type "adb devices" it will just say "list of devices attached". But if I turn a device on, and then type "adb devices", the emulator will show up. So make sure you turn your emulator on before you run your project

@pnthach95
Copy link

Your information is useless. Show error log when you run project

@szymonrybczak
Copy link
Collaborator

hey, basically role of doctor command is to check if your environment is correctly prepared for React Native development. For your problem @SparrowCoding you just simply need to install an emulator or plug a physical device. You can validate if the destination is available by running adb devices in your shell.

For SDK problem, sometimes envinfo tool that we use for checking informations have troubles with detecting versions - so the best way to validate your setup is try running a fresh app or an app that you're working on 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants