question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to use livesync with genymotion

See original GitHub issue

Hello,

    I succeeded to run the groceries app in genymotion emulator. But I want to execute the app in livesync mode, But I am unable to find the command to execute livesync along with genymotion emulator

I have tried tns emulate android --geny “mydevice name” this is working perfectly

But when I am using

tns emulate android --geny “mydevice name” livesync android --emulator --watch it is not working. And can’t find in the documentation how to make it work

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
rosen-vladimirovcommented, Feb 16, 2016

Hi @abhisekgithub , You have to execute two separate commands:

tns emulate android --geny "mydevice name" --juslaunch

This will install the app on your device and will start it. After that you have to start the livesync command:

tns livesync android --watch

Now you can make changes in your code and they’ll be synced on the device 😃

0reactions
petekanevcommented, Apr 18, 2017

@ishandutta2007 you seem to have omitted the --justlaunch flag which will terminate the CLI process .

Alternatively you could start a genymotion emulator manually and execute tns run android, which will automatically livesync to the running device/emulator.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's the purpose of `tns livesync` apart from the `--watch` flag?
When I run tns livesync android --watch , it detects when I save a file in my project and refreshes my GenyMotion emulator....
Read more >
Preview NativeScript Apps in the GenyMotion Android emulator
Let's learn how to set one up and run our app in it. First install the Android SDK by installing Android Studio here:...
Read more >
Lumion LiveSync for Revit - How To Use LiveSync - YouTube
Sync your Revit project to Lumion. See the changes you make in Revit directly in Lumion.For more information about the Lumion Plugin for ......
Read more >
How to connect to a Genymotion Desktop virtual device ...
Set your virtual device Network mode to Bridged. See Configuring a Virtual Device · Retrieve the virtual device IP address. It is displayed...
Read more >
Development Workflow - NativeScript Docs
--no-watch - If set, changes in your code will not be livesynced. ... An applicable option is to use third-party emulators (like GenyMotion)....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found