I have even seen that changes in my styles and ControlTemplates in the App.xaml are reflected on the target device - so that's very all of those are carefully followed and I am sure all the pre-req and Live Reload setup are done properly. SAVE THE XAML - that is when the update is pushed to the tablet. Update the XAML for the page that is being presented. In the title area you should see a prompt that LiveReload is installed but not connected. Make sure you are initializing LiveReload per the documentation. NET standard solution it goes in the shared project but not the individual platforms. Make sure you have Installed LiveReload correctly. Next, run either command in a terminal, based on your chosen platform: ionic cap run ios -l -external ionic cap run android -l -external The Live Reload server will start up, and the native IDE of choice will open if not opened already. When you make a change to any file, the browser will reload the page - unless it was a CSS file in which case the changes are applied without a reload. Select your platform of choice (iOS or Android) and connect a device to your computer. This will automatically launch the default browser. Alternatively you can add the path to serve as a command line parameter. Make sure PC and Tablet are on the same Wifi network.ĭelete the app from the tablet if it already exists Issue the command live-server in your project’s directory. I've had good luck with it - fairly impressed actually - as follows. Uncheck-check "Auto-generate encryption keys"ġ. uninstall Xamarin.LiveReload and install it againġ. Uninstall LiveReload and install it againĢ. Keep in mind that I always made sure that Live Reload is "Connected" and emu and my laptop is on the same network.ġ. I think I'm lost with other alternative to fix it. I went back reading the TROUBLESHOOTING in this linkīut non of it really helps and I'm still having the issue. But today, I cannot figure out why it's not showing my changes anymore. This is not actually the first time, but I was able to resolve the issue before just by doing CLEAN-REBUILD-RESTART_VS-REBUILD-RUN workaround and that pretty much solves the issue and my changes starts to appear on the emulator. This is my 3rd month on Xamarin.LiveReload and today, It's getting a trouble showing my changes. This is the first time I'm going to ask for Xamarin.LiveReload
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |