Monogame and MonoDevelop missing IDE MacOSX - installation

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.

Related

Xamarin iOS and Android projects no longer compile

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.

Xamarin SDK was not found for JetBrains Rider

I am hoping to work with Xamarin for a project, primarily to learn a little about cross-platform app development, and would prefer to stick to developing on Linux. This led me to attempt to work with the JetBrains Rider IDE, something that I believed to be fairly well documented, as per these resources:
Xamarin.Android on Linux (in coordination with its Ubuntu 19.04 update post)
Failed to load Xamarin Forms project with .NET Standard 2.0 Lib in Rider
0xFireball's Xamarin.Android on Linux guide with associated Rider/IDE setup
I've been able to install everything just fine, Android Studio and Rider were installed via JetBrains Toolbox (I also tried installing Rider manually, but it made no change), and I am able to create the project and configure the Android settings for the Xamarin project.
This is where my luck ends, since despite trying the various resources I've linked above, including reinstalling mono and dotnet-sdk multiple times, I get this error no matter what I try:
Xamarin SDK was not found: Rider was unable to find Xamarin SDK on
this machine. Xamarin-based projects will not be loaded. Please
install Xamarin SDK or change toolset.
I've tried following the instructions both on a manually installed Rider 2019.1.3 (Build #RD-191.7141.460) and Rider 2019.2 EAP (Build #RD-192.5895.291).
I'm fairly new to the world of Xamarin, so I'm not sure where to begin looking. What exactly is the Xamarin SDK (is it just Xamarin.Android?), and what should I be checking my setup for in order for Rider to detect the Xamarin SDK?
It appears that what Rider installs via its Environment page, is only the Xamarin Android package. Not the actually Android Studio SDK, which is needed to develop any android apps. You have to download that separately.

Android SDK location in OSX - Has it been actually installed by Unity Hub?

We are using Unity 2018.3.8f1.
We have added Android Build Support from Unity Hub - Add Component:
But if we go to Unity Preferences - External Tools, the Android SDK location is empty:
I have not been able to find the location of the Android SDK folder anywhere. I'm wondering if the component installed by Unity Hub is something different to Android SDK. Maybe it must be installed separately from: https://developer.android.com/studio?pkg=tools#downloads?
UPDATE
So far I have installed "Command line tools only" from the previous link. Then, I have installed OpenSDK (Vistual Studio did it for me: it asked me to update and install it as one of the things to update).
But when I opened tools/bin/sdkmanager, it said "Java is not installed". So I also installed Oracle Java SDK. Unfortunately tools/bin/sdkmanager returned errors after it. I applied a few workarounds I found by googling the errors. Still not luck.
So I have moved to the easy way: installing the full version of Android Studio. If we choose custom, we'll see that Android SDK Platform is going to be installed:
So it is working, but I still have not idea of how many things I have duplicated on my system wasting space. I have:
The Android component installed from Unity Hub
Android Studio installed, which comes with the emulator and the IDE (I don't need them)
OpenSDK (installed by Visual Studio)
An embedded version of Java in Unity
Oracle Java
Are they all actually needed? I don't think so!
It seems the only thing you are wondering is if the component installed by Unity hub is something different to Android SDK... the short answer is yes. You have to download it on the Android Developer SDK website you linked in the question. You only need the SDK under "Command line tools only" at the bottom of the page. If you do this you also need to download the jdk separatly here.

there was internal issue with the rendering process - XAML previewer

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.

Android SDK could not be found - Android SDK Location is correct

I've installed Xamarin and tried in Visual Studio to start with a small app and test the web view with this. So for this, I've installed the JDK, the Android SDK and Android NDK on my computer. I'm working throught a tutorial for a web view and I have the problem, when I run the Main.axml, it shows me the error, that my Android SDK could not be found (look at the first attachement). When I check my location paths for the JDK, SDK and NDK, it shows me the correct path and a green tick, so the path and files are correct (look at the second attachement). But my app don't recognize it. What's the problem here? I found some threads on stackoverflow for the same problem, but nothing helped me.
1. Attachement
2. Attachement
OS: Windows 8.1
IDE: MS Visual Studio 14.0.23
Xamarin: 4.2.0
EDIT:
I also tried to open my Android SDK Manager, but this one is disabled in my visual studio. I've installed Xamarin, so it should work:
Any ideas? Thanks.
I tried so many things and finally I have the solution for my problem:
Possible reason for the problem: I just installed the Xamarin, which installes also the JDK, Android SKD and Android NDK in it's wizzard, so I thought this should be the correct versions. After installing Xamarin, I opened my Visual Studio and checked the paths (Tool - Options - Xamarin - Android seetings) for my JDK, SDK and NDK. The paths show on the versions, which were installed by Xamarin. My Android SDK Manager was disabled.
Solution: Then I uninstall everything - the JDK, SDK and NDK and also the whole Xamarin and my old Android Studio. After that, I decided to install the newest JDK from the Java website, the newes Android SDK/NDK from the Android Studio website and a plane xamarin without the sdk/jdk installation. So I could be sure, that I have the correct versions. After the installation, I again opened Visual Studio - Tool - Options - Android seetings and set the paths to the new versions. Than I checked my Android SDK Manager and it was finally enabled and so I installed also the newest Android SDK Tools. After that I cleaned and builded my solution, start it and my android emulator opens my webview page. So I think, the best way is to install the required programms from their website and not automaticlly with xamarin. Now it works. Cheers.

Resources