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

"more than one device and emulator" on Linux + Android #55

Closed
dandv opened this issue Mar 30, 2015 · 7 comments
Closed

"more than one device and emulator" on Linux + Android #55

dandv opened this issue Mar 30, 2015 · 7 comments

Comments

@dandv
Copy link

dandv commented Mar 30, 2015

If I happen to have my Android connected to my Ubuntu when I run meteor run android, meteor will display

error: more than one device and emulator

  • waiting for device -

It's easy enough to disconnect the phone, but is there a better way to handle this situation?

The same error occurs with meteor run android-device if the emulator is still running.

@macroramesh6
Copy link

I have a same problem when I test my app in multiple device

@roelvan
Copy link

roelvan commented Jun 19, 2015

same problem here

@dnuske
Copy link

dnuske commented Jul 5, 2015

but you have the same issue if you are not using this plugin, I don't think this goes here that is more a Meteor thing.

@macroramesh6
Copy link

I found simple hack to run app in multiple devices.

  1. Execute meteor run android-devices --verbose without connect android device.

    Command end with:
    ERROR: Failed to launch application on device: ERROR: Failed to install apk to device: ERROR: Failed to deploy to device, no devices found. Command finished with error code 8: sampleapp/.meteor/local/cordova-build/platforms/android/cordova/run --device

    ERROR running one or more of the platforms: Error: sampleapp/.meteor/local/cordova-build/platforms/android/cordova/run: Command failed with exit code 8 You may not have the required environment or OS to run this project

  2. Now connect single device and execute the command in new terminal that come up with the above lines eg: sampleapp/.meteor/local/cordova-build/platforms/android/cordova/run --device

  3. Then remove current device and connect new device. repeat the same to all your test device.

  4. Connect all your device into you machine and start develop

I dont know whether its good, but works 👍

@lorensr
Copy link
Contributor

lorensr commented Jul 22, 2015

To get step 2 to work, I had to export ANDROID_HOME=/Users/me/.meteor/android_bundle/android-sdk/ and add /Users/me/.meteor/android_bundle/apache-ant-1.9.4/bin to PATH

@uriva
Copy link

uriva commented Oct 1, 2015

+1 for support for debugging on multiple devices

@StorytellerCZ
Copy link
Collaborator

I'm closing this issue as this should be a feature request on the main Meteor repository.

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

No branches or pull requests

7 participants