Can I run android emulator without an android phone? I have installed android studio and I've already installed android virtual device. However, when I try to run it, it gives an error like this :
Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging: https://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select "Use custom Android SDK tools", and point it at your Android SDK directory.
I just want to see the emulator in my pc without usb. I have an iPhone but it just shows up in my phone not in my pc using expo scan barcode. I don't want to do that because in my opinion it's not comfortable for debugging etc. I am using windows in my pc so I can't use iOS for emulator.
how to run expo android emulator on windows?
Yes you can:-(With zero android studio config)
- Install expo-cli globally.
- Install android Studio.
- Create a project by running expo-cli init
- No need of any configuration on android Studio.
- Open existing Project from android studio
- then Open the created expo Project it will be available as an android project with a android logo on it
Download and install whichever device you want but see to that its above android N and do it for x86
- after Installing the desired emulator
- run the emulator before running the project
- then run expo start to start the Project
if it doesn't run on the first go or if you get error close the project from emulator from recents and do a run on android again from metro builder don't close project just the running project from recent on emulator
- then it should work
Delete the directory C:\Users\Rizwan.expo\android-apk-cache and opening the project on android again It will run
来源:https://stackoverflow.com/questions/52751874/expo-run-on-android-emulator-using-windows-10




