I am totaly new to xamarin framework, i have just created an app with UI technology Xamarin.Forms and Code Sharing Strategy .NET Standard and i am using Visual Studio 2017 15.5.7 .
When I try to preview the default app template with the XAML Previewer, I get this error "There was an internal issue with the rendering process". I have given the screenshot below. I have tried alot to solve the problem but faild.
What should i do to solve this problem?
https://1drv.ms/u/s!AmfedwXYYdKe3HfQbHZBsM31ZSTO
Got it. Had to downgrade. Note for non-Mac users: if you don't have a Mac, the previewer won't work, even for Android. All you'll get is a blue/gray screen. This bug needs to be fixed by Xamarin.
On your Mac:
Switch back to the stable channel on Xamarin Studio if you're not on
it already.
Install Xcode 8.2.
On Windows:
Well, I had to uninstall VS 2017, install VS 2015, download the manual installer (the universal installer didn't work) from
https://store.xamarin.com/account/my/subscription/downloads ->
Show All Versions ->
Xamarin.Android ->
Download latest version (you only need to download Android --
Xamarin.iOS and Xamarin.Android point to the same "manual" installer
on Windows)
, install it, configure the Mac agent. This finally let the previewer
work... for iOS.
Android preview still doesn't work.
EDIT:
Solved it. You need to update to JDK 8 and set it to use that directory in
Tools ->
Options ->
Xamarin ->
Android.
Then, make sure you uninstall any 32 bit version of the JDK or all you'll get is XFPageRendererView instead of your XAML. TOOK FOREVER TO FIGURE OUT. This is how I spend my Christmas
Now, the only annoying thing is intellisense doesn't work on my XAML files. SIGH, any ideas?
EDIT:
You have to right-click on the XAML file and Open With... -> XAML Designer. The designer with encoding option didn't work for me, but the regular designer did. How odd.
Related
This is for Xamarin 8.10.11 (Build 8) for MacOS, Community Edition.
I recently returned to Xamarin development and opened a mobile project that I had worked on about a month ago. However both the Xamarin.iOS and Xamarin.Android projects have a yellow warning triangle beside them saying that the appropriate tool chain is not installed.
Both are installed.
If I download the latest DMG and request to install, it says there's nothing to be done (and indicates that both iOS and Android components are already installed).
Any thoughts on what else I can try?
The Show Details in the About dialog is missing all the relevant components (a colleague sent me their listing from a correctly working installation).
So, eventually I figured it out.
The problem is that mobile development in Visual Studio is added as an extension. And for no reason I can fathom, all the Mobile Development extensions had been disabled.
I have no idea how that happened, but re-enabling them made the problem go away.
I was busy for a while, so I couldn't work with UWP enough. : )...
Today, I made project with Windows Template Studio, a powerful template.
after I created it, I clicked a XAML page. but XAML design viewer shows message that I need to update to Windows 10, version 1809 ( 10.0.17763.0) to see the contents of XAML viewer.
but I'm worried that my laptop said that its windows version is up to date. 1803
I'm a korean user, and if this problem will not be a long-term problem, and just localization problem with windows policy. then I would be happy and I would go to practice with building a tiny App.
but, if this problem is my problem. how can I update to windows 1809 or, just download SDK to solve this problem ? or can I degrade Windows template studio ?
addded
if I make project with blank uwp app - target version 1803 -, XAML design viewer works well. but if i make blank uwp app with target version 1809, I get same error message.
Right-click the solution in "Solution Explorer" and select "Retarget Solution". Set the Windows SDK version to 10.0.16299.0
In my case I installed only one sdk and that is why I was getting the above mentioned error. From VS installer I installed SDK support for each version and it worked fine for me and my machine is still on windows 10 1803 (I believe they haven't rolled out update for my machine).
When I build my project in debug mode it builds forever. However there is no problem building in release mode.
This problem first occurred when I updated visual studio for mac to the newest version:
Preview 6 (7.0 build 2740).
This is what my debug settings look like:
Any ideas are much appreciated.
Check for xamarin.forms updates in both in the ios and xamarin project. It could be that theese are not updated even though the solution is updated.
Xamarin.forms package under the iOS project might have an older version
I cannot really help you because I don't know what type of project you tried to run or which OS X you are working with.
If such an Error occurs, always check your code or try restarting your mac.
Tip: "Visual Studio for Mac Preview" is still in its Alpha. Use the Stable Update channel to avoid errors like this.
I'm still getting the gray box with XFPageRendererView text slugged in whenever I try and use the Xamarin Forms Previewer.
I'm on the latest stable build of Xamarin and using latest updated Visual Studio 2015 Enterprise.
When I check Xamarin bug report there's an old bug about this from last year marked as closed but it's still "open" for me.
Hoping it goes without saying that I know I don't "need" the previewer. But for basic layout and sanity check it would be so much quicker.
Thanks.
Last week this was also my problem. i searched the solution in xamarin forums and they said that if you install a mac agent, forms previewer will work. I dont have a mac so never tried it. the solution that worked for me was to install the latest BETA version of xamarin.
See image on how to install BETA
keep up to date JDK version
Check out JDK current version. Tools -> Options -> Xamarin -> Java Development Kit
Install or Update the JDK
Restart Vs studio 2017
After February 20 someday Xamarin's update fixed the problem. Make sure you installed Java SDK 64 bit. Also before opening the XAML file, please build/rebuild the solution couple of times. And try to open/reopen the file couple of times. For details you can check my blog here.
I tried installing monogame and monodevelop but after downloading and installing the required applications there is no Monogame IDE in my application folder.
What i did was the following:
Started on the monogame download page (http://www.monogame.net/downloads) and followed the corresponding links to download these files for OSX:
Xamarin Studio 4.0.12 installer
Mono + GTK# to which it linked me to the mono download page to which i download
The Runtime and SDK files for OSX Version 2.10.x
I installed each program in the corresponding order and continues the installation process by downloading the MonoGame installation V3.0.1 for Xamarin and MonoDevelop because i wasnt sure which one to get. But when I couldn't simply drag or click to install I looked in my application folder there was no Monogame IDE only the Xamarin Studio IDE which I presume is the correct process. But When I opened the Xamarin IDE it says that I've download the starter version and I cannot use Monogame.
Aside from the monogame website and various googling instructions, I've tried following these very clear instruction from this blog (http://mastrgamr.net/xna/programming-xna-on-mac/) but got stuck when I could find nor open my MonoGame and the Xamarian IDE displaying the correct screen.
I do not understand what I am doing wrong as the installation instructions seem very clear.
EDIT:
So i found out that Xamarian IDE replaced the MonoDeveloper IDE though the instructions I've found are using MonoDeveloper IDE as the example. I'm not sure if theres a significant difference but I presume there is a difference as I still can't seem to run monoGame and the outdated instructions aren't syncretic with my actions. Can anyone provide me with updated Xamarian instructions?
A little while ago Xamarin replaced MonoDevelop with Xamarin Studio. So MonoDevelop is now called Xamarin Studio and it looks and behaves a little different. That's why any tutorials talking about MonoDevelop are going to be a little confusing.
I've never tried to install Xamarin Studio on a Mac so I'm not sure what the error is about the starter version. However, I suspect it might be talking about the Xamarin licensing.
What I can tell you is, you won't be able to develop games with MonoGame on the starter edition if you are targeting platforms other than Windows (this includes Android, iOS and I presume Mac) due to the limited app size. You should consider buying a license from Xamarin if this is indeed your issue.