Xamarin.Forms.Platform.Android does not exist after Xamarin update to 3.5

Created on 18 Feb 2019  ·  8Comments  ·  Source: xamarin/Xamarin.Forms

Description

Currently it is not possible for me to build the Android project after update from Xamarin.Forms 3.4 to Xamarin.Forms 3.5.

Steps to Reproduce

Update Xamarin.Forms from 2.5 or 3.4 to 3.5

Expected Behavior

Building should work after updating.

Actual Behavior

Errors during build:
image

Basic Information

  • Version with issue: 3.5
  • Last known good version: 3.4
  • IDE: Visual Studio 15.9.7

image

Reproduction Link

https://stackoverflow.com/questions/54591881/xamarin-forms-platform-android-does-not-exist-after-xamarin-update-from-2-5-to-3

needs-info ❓ needs-repro ❔ bug

Most helpful comment

You must make sure that the version of the installed Xamarin.Android should be as same as the version that you have added to the current project.

For example, if you have installed v27.0.2.1 of Xamarin.Android, you can not upgrade your project to v28.0.0.1 only. You should upgrade the component(Xamarin.Android) which is installed with Visual Studio first.

How can I update or upgrade the (component) Xamarin.Android in VS2017 ?

All 8 comments

@Agredo Can you please attach the project that is having this issue? Thanks!

Sorry I cant upload this project. I searched for this Issue and found on Stackoverflow other people with this problem (attached Link).

I will try today to reproduce it with a sample project.

@Agredo Did you have any luck reproducing this issue? Thanks!

@Agredo Since we haven't heard from you in more than 30 days, we hope this issue is no longer affecting you. If it is, please reopen this issue and provide the requested information so that we can look into it further. Thank you!

Hi,

we have the same problem on our project.
We upgraded from xamarin.forms v3.0 to v3.5 and now I get an error saying "The type or namespace 'Android' does not exists in 'Xamarin.Froms.Platform'"
image

image

Any solution for this issue?

You must make sure that the version of the installed Xamarin.Android should be as same as the version that you have added to the current project.

For example, if you have installed v27.0.2.1 of Xamarin.Android, you can not upgrade your project to v28.0.0.1 only. You should upgrade the component(Xamarin.Android) which is installed with Visual Studio first.

You must make sure that the version of the installed Xamarin.Android should be as same as the version that you have added to the current project.

For example, if you have installed v27.0.2.1 of Xamarin.Android, you can not upgrade your project to v28.0.0.1 only. You should upgrade the component(Xamarin.Android) which is installed with Visual Studio first.

How can I update or upgrade the (component) Xamarin.Android in VS2017 ?

Was this page helpful?
1 / 5 - 1 ratings