Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    akonovalov
    @akonovalov
    @ionoy Thank you for the pointer. I set the linker property called Linking to None and that resolved the issue. However, when during a debug session I make a change in any .xaml file and save it the screen does refresh and in the VS output I see lines like "[0:] XL: Listener received a message (XXXX)". But the change does not get rendered. All of this is being done in an android simulator.
    Mihhail Maslakov
    @ionoy
    @akonovalov is it happening on all of the pages or only specific ones?
    akonovalov
    @akonovalov
    @ionoy for every page
    Mihhail Maslakov
    @ionoy
    @akonovalov can you send me a mini sample that reproduces the issue?
    Vinícius Stutz
    @vinicius-stutz
    Hi! LiveXAML does not update screen changes on Android, only on iOS. VS2019, Xamarin Forms 4.3.0.908675.
    akonovalov
    @akonovalov
    @vinicius-stutz , not sure if the message was addressed to me but I'm using VS2017 and, as was mentioned earlier, it used to work just fine before a few months ago. No VS or Xamarin Forms were upgraded since then.
    Vinícius Stutz
    @vinicius-stutz
    My message is directed to anyone who can solve my problem. I am using Visual Studio 2019 and Live XAML is not reflecting the changes on Android. Thank you for your attention!
    Mihhail Maslakov
    @ionoy
    @vinicius-stutz @akonovalov I'll check it out today
    Mihhail Maslakov
    @ionoy
    @vinicius-stutz @akonovalov guys, I have updated my test project to 4.3.0.908675 and I see the XAML updates in the emulator
    I have the VS2019, but not the latest update, maybe that is the reason
    Mihhail Maslakov
    @ionoy
    Also, are you using Shell?
    Vinícius Stutz
    @vinicius-stutz
    Debugging Xamarin on 3 physical device: Samsung SM-G950FD (phone), LG G6 H870 (phone) and Samsung SM-T825 (tablet). Without reflecting XAML changes.
    Mihhail Maslakov
    @ionoy
    @vinicius-stutz what about Shell, do you use is in your project?
    Vinícius Stutz
    @vinicius-stutz
    @ionoy no
    Mihhail Maslakov
    @ionoy
    @vinicius-stutz are you on the latest LiveXAML nuget package?
    Vinícius Stutz
    @vinicius-stutz
    @ionoy Yes, 2.1.73 (Tuesday, September 17, 2019)
    PREM PRAKASH PATTNAIK
    @premingiet
    LiveXAML not reflecting changes on visual studio 2019 with real android device as debugger. Haven't tested on emulator. I did automatic installation of LiveXAML nuget package
    akonovalov
    @akonovalov

    @ionoy , I finally got a chance to dig deeper into the issue of no being able to render changes and simply rolled back my droid project debug settings to those that worked for LiveXaml before. Changing values for one or more of the settings to the ones listed below resolved the issue. Due to time constraints I did not have a chance to identify which of the mentioned settings specifically caused the issue but hopefully it helps to reproduce the issue on your end and/or others facing similar issue to pinpoint its root cause.

    Settings that caused the issue:

    <AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>

    <EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>

    <AndroidEnableMultiDex>false</AndroidEnableMultiDex>

    Rolling them back to the settings below solved the problem.

    <AndroidUseSharedRuntime>True</AndroidUseSharedRuntime>

    <EmbedAssembliesIntoApk>False</EmbedAssembliesIntoApk>

    <AndroidEnableMultiDex>true</AndroidEnableMultiDex>

    <AotAssemblies>false</AotAssemblies>

    <EnableLLVM>false</EnableLLVM>

    <BundleAssemblies>false</BundleAssemblies>

    Mihhail Maslakov
    @ionoy
    @akonovalov thank you very much for digging up on this issue
    I will try to find out what's going on here
    Mihhail Maslakov
    @ionoy
    @akonovalov are you using AOT in your daily builds?
    I can't even deploy my test project with it enabled
    James Lavery
    @jameslavery
    @ionoy Does LiveXAML do anything in a release build? We've got a problem with a release of our iOS app which is failing on some devices. Normally we don't include LiveXAML in the final build - but this time it snuck through.
    Mihhail Maslakov
    @ionoy
    @jameslavery you should add DISABLE_XAMARINFORMSLIVE compilation symbol in the Release build. this way LiveXAML won't be included in the build.
    James Lavery
    @jameslavery
    So without this, it will be trying to talk to the VS service?
    Mihhail Maslakov
    @ionoy
    it will try to connect to LiveXAML server
    which is basically a console application
    James Lavery
    @jameslavery
    Thanks - that's exactly what I needed to know.
    Mihhail Maslakov
    @ionoy
    glad to help
    James Lavery
    @jameslavery

    What we're seeing, only on iPhones on a particular carrier (EE in the UK) on a pay monthly contract is that the app is locking up immediately it starts. Does LiveXAML try to talk to the LiveXAML server on the UI thread?

    Oh - and this is only on an app which has gone up to TestFlight or been published to the App Store.

    Mihhail Maslakov
    @ionoy
    LiveXAML wouldn't block the execution, even if there is no server
    I can't be completely sure that your issue is not caused by LiveXAML, but it's highly unlikely
    James Lavery
    @jameslavery
    Thanks - we'll let you know our findings!
    James Lavery
    @jameslavery

    @ionoy Unfortunately we have narrowed down our problem to LiveXAML. Removing LiveXAML solves the problem. It looks like the only solution to our problem (the app hanging) is to remove the Live XAML NuGet package, as setting the DISABLE_XAMARINFORMSLIVE symbol did not fix the problem.

    Note that this is manifesting itself only on iPhones on EE in the UK on a pay monthly contract.

    Mihhail Maslakov
    @ionoy
    the thing is, defining DISABLE_XAMARINFORMSLIVE should completely remove any traces of LiveXAML from the resulting assembly
    you can check with the decompiler
    It's possible that I'm missing some other possible reason for this issue though
    RuidynyDev
    @RuidynyDev
    After purchasing and activating the license, I get a System.NotSupportedException exception: 'Unable to activate instance of type Xamarin.Forms.Platform.Android.FastRenderers.LabelRenderer from native handle 0x7fed07cc64 (key_handle 0xdad93b9).'
    How to solve a problem?
    Mihhail Maslakov
    @ionoy
    @RuidynyDev haven't seen this problem before. are you sure it's LiveXAML related?
    mohammedmsadiq
    @mohammedmsadiq
    XL: Handshake connection timed out
    XL: Handshake server unreachable 10.0.3.2
    XL: =============== LiveXAML Important Information ===============
    XL: Failed to find find a handshake server
    1) Is phone connected to the same WiFi network?
    2) Are ports 53031 and 53032 opened in firewall?
    3) If On Windows, make sure that xlserver.exe is running
    XL: ==============================================================
    facing this issue on device and simulator
    this is on iOS
    Mihhail Maslakov
    @ionoy
    @mohammedmsadiq are you sure you have LiveXAML extension enabled?
    also, you could try using LiveSharp instead. it has LiveXAML integrated and supports the same license ( www.livesharp.net )
    Michelangelo
    @mfranc28
    Hi all, from a couple of days every time I started VS2019 Mac I see this message "Do you want to temporarily trust this certificate in order to connect to the server at www.livexaml.com"
    And after hit Yes, seems that LiveXaml don't work
    Mihhail Maslakov
    @ionoy
    @mfranc28 that must be something new in the VS for Mac
    it has LiveXAML integrated
    also, visit https://gitter.im/LiveSharp/Lobby for more info