iOS Firebase Nuget Packages failed to build - c#

Good day, I'm using visual studio 2017 , xamarin iOS. I'm trying to implement ios push notifications with firebase, so I've installed Xamarin.Firebase.iOS.CloudMessaging and it's dependecies.
But the project is not building and I'm getting errors on each package :
"Download failed. Please download https://dl.google.com/dl/cpdc/15a4dd6c971f8bbf/FirebaseAnalytics-4.0.4.tar.gz to a file called C:\Users\Me\AppData\Local\XamarinBuildDownloadCache\FAnlytcs-4.0.4.tgz."
I've tried to add both rar and tgz files into the folder, no difference. What am I missing?

Related

Microsoft Visual Studio 2019 Xamarin - Stuck in infinite loop on "double click on this message to install android sdk's"

I have been on this for about 2 months before I turned here for assistance. I have VS 2019 and have xamarin installed. When I open a xamarin project, I get 1 warning and 1 error.
The warning:
Could not find android.jar for API Level 28. This means the Android SDK platform for API Level 28 is not installed. Either install it in the Android SDK Manager (Tools > Open Android SDK Manager...), or change your Xamarin.Android project to target an API version that is installed. (C:\Program Files (x86)\Android\android-sdk\platforms\android-28\android.jar missing.)Test.Android
The error:
The project Test.Android is missing Android SDKs required for building. Double-click on this message and follow the prompts to install them.
Note: In the bottom right corner, by refresh, it does say offline mode.
I have tried every solution I could find on here (and other sites). My android SDK manager is showing up fine, the only one on there, however, is Android 8.1 - oreo API Level 27. I have verified the auto install sdk's were on, I have ran as administrator, all with no luck.
Any help is greatly appreciated!

Unable to install Adhoc IPA file on my iPhone generated under visual studio

I was created a Xamarin PCL project for Android and iPhone in Visual Studio 2017.
For Android: The released APK file working fine.
For iPhone: I debugged in my iPhone with error free by connecting with my mac using of Xcode. Then finally the adhoc IPA file generated in Xcode for testing. I tried to install that IPA file in the same iPhone using iTunes but its start installing while it reaches 75% the installation terminates.
Please help.

Visual Studio 2015 - Xamarin Installation failed

I downloaded Xamarin from the website and the installation fails after downloading the android SDK manager, I retried a few times, still no positive results. Should I uninstall Xamarin, if so, how? What should I do, I want to code a IOS and Android application.

No Resource found error When trying to Run James Montemagno Navigation Template for Android

I downloaded XamAndroidTemplateVSIX.vsix and it has been added to Visual Studio fine. The problem is when I try to build it says No Resource found that matches the given name:attr'colorPrimary'.
It's like it's not recognizing any resources from the styles.xml folder even tho the folder is in the values folder.
My SDK and Build Tools are all up to date. API 23.
What could be causing this error please?
That's because the Android support libraries are outdated. Open the NuGet package manger and update them to the latest version and your app will compile without any problems.

Xamarin 4.2.4 (build 35) error "connection to the layout renderer failed"

I have this error in my first Xamarin android (c#) app when I try to open "layout>main.xaml" file :
"connection to the layout renderer failed".
can anyone help me!?
Please try one of these configurations, as John Miller pointed here
Windows / Visual Studio 2013 / Xamarin Studio
Xamarin.Android 4.12.02001 using Android SDK Tools 22.6
Xamarin.Android 4.12.03003 using Android SDK Tools 22.6.2
Xamarin for VS 1.12 (Alpha) using Android SDK Tools 22.6.2
How do I downgrade my Android SDK Tools?
If you already updated to 22.6.3, or some other non-compatible version of the SDK tools and Xamarin.Android, you can either upgrade your Xamarin.Android to match the above setups or download an older version of the SDK tools. Here is how you can do that:
You should make a backup of your tools folder that we will replace in the Android SDK directory on your computer. Simply rename the folder to something like tools_backup. That directory is normally installed in a path like this:
C:\Users{USER NAME}\AppData\Local\Android\android-sdk\tools
Download the version of SDK tools you need from Google using the links provided below.
Android SDK Tools 22.6
Android SDK Tools 22.6.2
You can change the version number in the actual URL link to another revision if you need it
Once you download the ZIP, extract the tools folder and place it in the Android SDK directory above where you backed up the previous version of the tools folder.
Restart your Visual Studio / Xamarin Studio.
EDIT:
Xamarin Studio 4.2.5 has resolved the issue. It needs Android SDK Tools 22.6.3.

Categories