Visual Studio does not show me all downloaded Android versions - SDK Manager - c#

I am working with Visual Studio developing an app with Xamarin.Android but I found a problem that is giving me a lot of headache because it prevents me from downloading the NuGets that I need (Xamarin.Firebase.Messaging).
The main problem is that I download all the versions of Android from the SDK Manager, but when I want to select Android 9 (API 28) or Android 10 as "Target Android Version", it shows me all up to Android 8, I mean, no It shows me neither Android 9 nor anything else above.
I have already tried to update, uninstall the packages and reinstall them, and nothing works.
Any advice?
At least to be able install the NuGet that I need to implement Push notifications in my app?

Related

Xaml Previewer not working

I just can't get the XAML-Previewer to work.
It's always empty:
What I tried so far:
Renistalled Xamarin completely
Run Repair on whole VS
Also no Errors or Crashes can be found inside the xamarin logs.
Environment:
Windows 10 Professional
Visual Studio 2015 Enterprise
Xamarin 4.2.1.64 - (NuGet-Version 2.3.2.127)
No Mac - Connected (Running Android atm)
JDK 1.8.0_112
JRE 1.8.0_112
NDK R13B
SDK 25.2.3
I've searched the xamarin forum and SO for hours but still cannot get it to work.
Anyone found a solution on this ? it drives me crazy...
It would be great to use this feature...
Uninstall the Android SDK build tools API 24 and be sure to have the JDK 1.8 installed. Build your droid project and you will be ready to go.

Can't create blank Android Xamarin app in VS 2015

When i try to create a blank Android project in Visual Studio 2015 i get error:
Desktop windows 7 Enterprise
I have installed the latest versions of VS2015 and Xamarin.
Someone resolved problem on other forum - check this out.
Make sure Android Studio is not installed on your computer. If it is, uninstall it and run the VS2015 installer again until all Android SDK errors go away.
Make sure VS2015 is closed and install the most recent stable version of Xamarin for Visual Studio 2015. I found it here: https://store.xamarin.com/account/my/subscription/downloads. (Trying to install it through VS2015 didn't work for me under Tools -> Android -> Settings -> Xamarin for Visual Studio Updates.)
Make sure you have Java SDK version 7 installed on your machine (do not use 8 even though its the latest). You also must use the 32-bit version even if you have a 64-bit machine. This was key!
Install the Android SDK. Standalone version, not Android Studio + Android SDK.
Install the Android NDK.
Restart your computer and open VS2015. Go to Tools -> Android -> Settings and set the correct paths to Android SDK, NDK and Java SDK.

Visual studio 2013 cannot resolve metadata. C# Store app

I installed an sdk to upload my app to the store. After the package creation I went home, only to see this error the next day when I started VS2013 again. note: It worked fine the same day I installed it, problem began after system reboot
error:
Cannot resolve 'Windows.metadata'. Please install the Windows Software Development Kit. You can retarget your project to Windows 8.1. The Windows 8.1 SDK is installed with Visual Studio. See http://go.microsoft.com/fwlink/?LinkID=278967&clcid=0x409 for more information on how to retarget your project
So I reinstalled the development kit and followed the steps on the Microsoft website, but i still can't retarget it (VS doesn't provide me with an option to do so), also, VS tells me my app already is targeted to 8.1.
Anyone has any ideas how to solve this problem?
Most stupid problem ever. Missed the visual update 2013 update. Just updated it and now its fine

Windows phone 8.0 sdk visual studio 2012

I am stuck with this now, I had windows phone sdk installed on vs 2012 but suddenly, creating a project in it starts to give me object reference not set to an instance error! could not create project.
I uninstalled sdk ,uninstalled vs2012, installed again and now when i try to install phone sdk 8.0 i get this error saying
Microsoft visual studio express 2012 for windows phone cannot find requested object.
Windows phone 8.0 Emulator images Cannot find the requested object.
I am having heads gone moments now! please help..
I have windows 8 pro 64 bit and do have hyper v enabled and checked.
Try to either update or uninstall NuGet. This worked for me: UNINSTALLED NuGet (as updates to it did not work)
same happened to me.
it occurs because of corrupted .iso file.
so either download a new one or install using online installation, i'm afraid but this is the only possible solution.

How to install the XNA Game Studio 4.0 in Windows 8?

This question is related, but NOT a duplicate: How to install XNA game studio on Visual Studio 2012?
I read the above mentioned post, and have got xna projects opening, but I now have a problem.
Some of the references to the XNA framework aren't found:
Microsoft.Xna.Framework.Avatar
Microsoft.Xna.Framework.GamerServices
Microsoft.Xna.Framework.Net
Microsoft.Xna.Framework.Storage
Microsoft.Xna.Framework.Video
And all references to Microsoft.Xna.Framework.Content.Pipeline
Without these, I can't compile or run any games that I've made. I can't find the dll that contains these, or where I should put them.
UPDATE: March 3, 2014
Use the download for VS2012 and VS2013 at this link: https://msxna.codeplex.com/releases. I have no idea of the legality on that project (the developers seem to have decompiled XNA), but it did help me ease the pain of needing VS2010 in order to utilize the content pipeline.
Old Answer
See: How to work around a possible XNA Game Studio or Windows Phone SDK install failure on Windows 8
How to work around this issue
If you run into this issue, here are steps that you can use to work around it:
Download and install the latest version of the Games for Windows – LIVE Redistributable from http://www.xbox.com/en-US/LIVE/PC/DownloadClient
If you are installing the Windows Phone SDK 7.1, re-run setup and choose to repair it. This will re-run the previously failing XNA Game Studio installers and they should install correctly this time.
If you are install a standalone XNA Game Studio product, re-run setup and it should install correctly this time.
If you are planning to do Windows Phone development, you should also install the Windows Phone SDK 7.1.1 Update after installing the Windows Phone SDK 7.1. This update fixes an issue that prevents the emulator in the Windows Phone SDK 7.1 from working correctly on Windows 8.
What to do if the workaround doesn’t help
If you have tried the above steps and setup still fails, you are running into a different issue than the one described above, and you will have to look at the setup log files to determine the root cause.
If you are installing the Windows Phone SDK 7.1, you can use the log collection tool to gather your setup log files. This log collection tool will create a file named %temp%\vslogs.cab.
If you are installing XNA Game Studio, you can find log files at the following locations:
XNA Game Studio 4.0 Refresh - %temp%\XNA Game Studio 4.0 Setup\Logs
XNA Game Studio 4.0 - %temp%\XNA Game Studio 4.0 Setup\Logs
XNA Game Studio 3.1 - %temp%\XNA Game Studio 3.1 Setup\Logs
XNA Game Studio 3.0 - %temp%\XNA Game Studio 3.0 Setup\Logs
XNA Game Studio 2.0 - %ProgramFiles%\Microsoft XNA\XNA Game Studio\v2.0\Setup\Logs
What is causing this failure behind the scenes
XNA Game Studio installs a version of the Games for Windows – LIVE
Redistributable behind the scenes. Some older versions of the Games
for Windows – LIVE Redistributable attempt to install and use a file
that is being installed by Windows 8, and the older versions of the
redistributable are not compatible with the newer version of the file
that is installed by Windows 8. Newer versions of the Games for
Windows – LIVE Redistributable are compatible with Windows 8, and if
you pre-install the new redistributable before installing XNA Game
Studio, setup will recognize that it is already there and use the new
version instead of trying to install the old version.
The installer for XNA Game Studio 4.0 has some issues on Windows 8. The installation process fails and removes all installation files. The fact is that the main installer extracts the following installers (at c:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\Setup):
XLiveRedist.msi
xnags_documentation.msi
xnags_platform_tools.msi
xnags_shared.msi
xnags_visualstudio.msi
xnaliveproxy.msi
The conflict is with the first one. So if you manually install all others, XNA should work fine. The problem is that after the installation failure this files are automatically deleted. My solution is to halt the installation process (using the task manager) in the moment when an error was detected, this way the installer don't have time to erase the installation files.
Once you have the files you can install it without repeating the procees.
It worked for me!!!

Categories

Resources