Error even after installing android v4 support library in Xamarin

Even after installing the v4 support library from the Xamarin Component Repository, I get this error. I tried to do a Google search for these problems, but I always get the same error in Xamarin Studio when developing an Android application.

enter image description here

+4
source share
3 answers

This is Xamarin Bug 32498

The problem starts when you usually install one of the Xamarin.Android.Support packages . * nuget.

Then the IDE (VS2015 for me) freezes and nothing works, so you are forced to disable the IDE. After reopening the IDE and forcing a link to the assembly, as well as creating the project, he says:

android.support. *

:

:

Xamarin.Android.Support. * # Google ( JAVA), google ( Xamarin #: Java).

:

, IDE , - Google. ( 96 ) Xamarin.Android.Support. *,

C:\Users\%username%\AppData\Local\Xamarin 

:

2 :

  • , , 22.2.1, ( )

  • (, Xamarin.Android.Support.v4):

    • C:\Users\%username%\AppData\Local\Xamarin, , , . Android.Support.v4
    • C:\Users\%username%\AppData\Local\Xamarin\{LibraryName}\22.2.1, . C:\Users\%username%\AppData\Local\Xamarin\Android.Support.v4\22.2.1
    • Google (v16).
    • C:\Users\%username%\AppData\Local\Xamarin\Android.Support.v4\22.2.10\content
    • android_m2repository_r16, m2repository\com\android\support libraryname\22.2.1 (, support-v4\22.2.1). libraryName-22.2.1.aar (, support-v4-22.2.1.aar ( WinRAR) C:\Users\%username%\AppData\Local\Xamarin\{LibraryName}\22.2.10\embedded C:\Users\%username%\AppData\Local\Xamarin\Android.Support.v4\22.2.10\embedded

    • nuget

Edit

android_m2repository_r16.zip C:\Users\%username%\AppData\Local\Xamarin\Android.Support.v4\22.2.10\

+13

, xamarin 3.11.586 v4 support lib 22.2.0.0. ?

0

The screenshot is too small and I can barely read the code and error messages. But it looks like you have Java code in Xamarin Studio and it generates compilation errors. This was expected since Xamarin Studio only compiles C #, not Java. You will need to take your current Java code and convert it to C #.

0
source

All Articles