Class * was removed because the Java implemented interface type '*<java.lang.Integer, T>' could not be found. Error binding xamarin android aar

87 views Asked by At
  • I have tried to binding a AAR library. LogRocket android but i getting the issue"

obj/Debug/api.xml.class-parse : warning BG8605: The Java type 'com.logrocket.protobuf.Internal.MapAdapter.Converter<java.lang.Integer, T>' could not be found (are you missing a Java reference jar/aar or a Java binding library NuGet?) /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Bindings.ClassParse.targets(38,5): obj/Debug/api.xml.class-parse warning BG8605: The Java type 'com.logrocket.protobuf.Internal.MapAdapter.Converter<java.lang.Integer, T>' could not be found (are you missing a Java reference jar/aar or a Java binding library NuGet?) obj/Debug/api.xml.class-parse : warning BG8605: The Java type 'com.logrocket.protobuf.SmallSortedMap<FieldDescriptorType, java.lang.Object>' could not be found (are you missing a Java reference jar/aar or a Java binding library NuGet?) /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Bindings.ClassParse.targets(38,5): obj/Debug/api.xml.class-parse warning BG8605: The Java type 'com.logrocket.protobuf.SmallSortedMap<FieldDescriptorType, java.lang.Object>' could not be found (are you missing a Java reference jar/aar or a Java binding library NuGet?) obj/Debug/api.xml.class-parse : warning BG8605: The Java type 'java.security.PrivilegedExceptionAction<sun.misc.Unsafe>' could not be found (are you missing a Java reference jar/aar or a Java binding library NuGet?) /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Bindings.ClassParse.targets(38,5): obj/Debug/api.xml.class-parse warning BG8605: The Java type 'java.security.PrivilegedExceptionAction<sun.misc.Unsafe>' could not be found (are you missing a Java reference jar/aar or a Java binding library NuGet?) The class '[Class] com.logrocket.protobuf.Internal.MapAdapter.1' was removed because the Java implemented interface type 'com.logrocket.protobuf.Internal.MapAdapter.Converter<java.lang.Integer, T>' could not be found. The class '[Class] com.logrocket.protobuf.SmallSortedMap.1' was removed because the Java base type 'com.logrocket.protobuf.SmallSortedMap<FieldDescriptorType, java.lang.Object>' could not be found. The class '[Class] com.logrocket.protobuf.UnsafeUtil.1' was removed because the Java implemented interface type 'java.security.PrivilegedExceptionAction<sun.misc.Unsafe>' could not be found.

The dependency of this library only the package Annotation

{
  "name": "releaseVariantReleaseRuntimePublication",
  "attributes": {
    "org.gradle.category": "library",
    "org.gradle.dependency.bundling": "external",
    "org.gradle.libraryelements": "aar",
    "org.gradle.usage": "java-runtime"
  },
  "dependencies": [
    {
      "group": "androidx.annotation",
      "module": "annotation",
      "version": {
        "requires": "1.1.0"
      }
    }
  ],

Any idea?

0

There are 0 answers