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

Livesync does not work on Android P #3602

Closed
vchimev opened this issue May 18, 2018 · 4 comments
Closed

Livesync does not work on Android P #3602

vchimev opened this issue May 18, 2018 · 4 comments
Assignees
Milestone

Comments

@vchimev
Copy link

vchimev commented May 18, 2018

Tell us about the problem

Livesync does not work on Andorid P. In order to get latest changes applied it is need to remove and add the platform, then run the application again.

Which platform(s) does your issue occur on?

Android P

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.1.0-2018-05-17-11521
  • Cross-platform modules: 4.0.0-2018-05-17-03
  • Runtime: 4.1.0-2018.5.17.2
  • node.js: 10.1.0

Please tell us how to recreate the issue in as much detail as possible.

tns create appJS && cd appJS
tns run andoird (--bundle)

replace the "TAP" string in the main-page.xml file with "Test"

Output:

Preparing project...
Project successfully prepared (Android)
Installing...
ActivityManager: Killing 7262:org.nativescript.appJS/u0a123 (adj 0): stop org.nativescript.appJS
ActivityManager: Killing 7262:org.nativescript.appJS/u0a123 (adj 0): stop org.nativescript.appJS
ActivityManager: setHasOverlayUi called on unknown pid: 7262
ActivityManager: setHasOverlayUi called on unknown pid: 7262
Successfully installed on device with identifier 'emulator-5554'.
Successfully transferred main-page.xml.
Refreshing application...
Successfully synced application org.nativescript.appJS on device emulator-5554.
ActivityManager: Start proc 7403:org.nativescript.appJS/u0a124 for activity org.nativescript.appJS/com.tns.NativeScriptActivity
@vchimev vchimev changed the title Lifesync does not work on Android P Livesync does not work on Android P May 18, 2018
@RadouaneRoufid
Copy link

+1

1 similar comment
@BlindGarret
Copy link

+1

@BlindGarret
Copy link

For what it's worth, if you add the --clean flag to the "tns run android --emulator" command on cli 4.1.2, it will actually begin updating. However, the tradeoff is it appears to do a clean rebuild for every single file change, which isn't really better as it takes a huge amount of time to do a sync now. Still, it's a workaround.

@beginor
Copy link

beginor commented Jul 14, 2018

+1

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

No branches or pull requests

6 participants