-
Notifications
You must be signed in to change notification settings - Fork 1
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
Stuck on Getting Devices #164
Comments
"Getting Devices...." means that on the command line that it is running Running this on the command line may give you an idea of why it is not working. You can also use Help > Toggle Developer Tools to see if there are any related errors there. My guess is that the installed version of native-run is broken. You can delete node_modules and npm install again to reinstall this. You could also update to the latest Capacitor 5 and run npm update to make sure your dependencies are updated. |
@dtarnawsky thanks for the response. Running |
I would guess this may be related to your project. If possible, can you share code? You can email me [email protected] (If you can't share the whole project you could share your |
@dtarnawsky I have a feeling it might be. It did work at one point. Not sure when it stopped. Ill shoot you an email. Thanks! |
Coincidentally this option also stopped working on my machine as well. The ultimate problem for me was that NKDaemon was running (which is a service installed by Native Instruments when using the Traktor DJ software). This service presents itself as an offline android emulator causing problems. To work out that there was a problem I ran this command: Native-run is the library that the Capacitor CLI uses to iterate over available devices. The above command is essentially what is called when "Getting Devices" is run and this can fail if there are problems with either android or iOS. The |
@dtarnawsky thanks, but I ran that command for both android and ios, and didn't receive any issues. Devices were listed out without a problem |
Version: v1.89.0
When I try to run the app for Android or iOS, nothing really happens. The loading spinner shows up, but the "Output" for ionic has nothing in it, and its stuck on "Getting Devices" at the bottom. Running the Web app from the ionic plugin works fine. Running
npx cap run ios
andnpx cap run android
manually both work fine as well.I checked the devtools. There were no errors in the console.
The text was updated successfully, but these errors were encountered: