Hundreds of Resource.Designer.cs build errors on latest Xamarin Forms 2.2.0.45

前端 未结 3 1831
攒了一身酷
攒了一身酷 2021-01-22 15:56

I have a new Xamarin Forms solution setup with a PCL, an iOS app (which builds fine), and an Android project. The Android project is up to date with the latest Nuget packages fo

3条回答
  •  一整个雨季
    2021-01-22 16:28

    I've also had this problem very recently, Follow these steps =>

    • Clean your solution, build again then you will see these kind of errors in outpust " Please install package: 'Android Support Library' available in SDK installer. Java library file

      C:\Users\dev\AppData\Local\Xamarin\Android.Support.v4\21.0.3\embedded\classes.jar doesn't exist. MyProject.Droid"

      then please follow this question [Xamarin Forms Android Error: Please install package 'Android Support Library'

    • Please update your package but keep in mind that package version should depend on the version of Xamarin Forms you have installed.

    • At last if problem still persists with some strings then cross
      check the components updates and build tools version from the android sdk managers.

    It was quite a long process and you have to hit/try for this with the correct packages installation.

提交回复
热议问题