-
Notifications
You must be signed in to change notification settings - Fork 13
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
Won't find Android studio emulator. #1
Comments
@maotora You may specify which emulator to run on like .. To get list of emulators run |
@moonstruck Hi. Thanks for replying. I tried your method unfortunately still fails. |
The problem is not that it cant find the Android Emulator, There's an error in compiling your projects, have you linked your dependencies well ? |
Hi @aivene25 , I re-cloned the project, then ran |
@maotora , any thing? |
Facing the same issue, any fix yet? |
Hi, this might resolve the issue ---
|
This repo is not active for last couple of months. |
Hello @moonstruck , I tried your solution and it gave a different error.
I can see some light in this, do you have any solutions to this issue? |
Hi @maotora |
Now I feel stupid..
Gets a different error.
Package.json file {
"name": "example",
"version": "0.0.2",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"mobx": "^4.1.1",
"mobx-react": "^5.0.0",
"react": "^16.3.0-alpha.0",
"react-native": "0.55.0",
"react-native-track-player": "git+https://github.com/rm3rdmodules/react-native-track-player.git#dev",
"react-navigation": "^1.5.9"
},
"devDependencies": {
"babel-jest": "22.4.3",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-react-native": "^4.0.0",
"jest": "22.4.3",
"react-test-renderer": "^16.3.0-alpha.0"
},
"jest": {
"preset": "react-native"
}
} |
@maotora Give the dev branch a try. |
@moonstruck that's the only branch I have. |
@maotora Open emulator and try this |
Hey, is the dev branch still working? |
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. every run my project always appear error like that |
I found that specifically adding the emulator path (and in fact the platform-tools) folders to my PATH environment variable, those issues go away. Why it doesn't append to the ANDROID_SDK_ROOT environment variable in Windows I'm not sure. |
Hi Guys, if anyone still has this issue. An easy fix is just to open the 'android' folder from your react-native project in android studio and build directly from there. None of the other solutions above worked for me. however this worked straight away. |
where did you build? I dont have a build button when I go into Android studio -> Android folder. |
Make sure you're opening the |
Flutter is able to detect open emulator, but react-native is not able to. |
Hi,
am running your app on an android studio emulator and it looks like this demo can't find it!
Whenever I run
react-native run-android
it gives errorMy emulator is up and other projects can use it and install apps normally.
The text was updated successfully, but these errors were encountered: