Skip to content

Binding Library - Adding .aar file which should resolve resolution issue but still class is not found. #10026

@TheHighriser

Description

@TheHighriser

Description

I am working on a binding library and I am looking into all my warnings because I have different runtime issues. So I thought it might be worth it to tackle warnings first. Even through at runtime it is not an issue but still I want to understand the "java-resolution-report.log".

This file is create at build time of the binding and as far as I understood it tells me any issues when resolving java dependencies.

It contains "Cycle 1" and "Cycle 2" which is already something I don't understand. Cycle 2 contains much less elements, still all of them are shown as warning in Visual Studio.

My problem now is that I can see something like this:

The method '[Method] com.blabla.ServerConfiguration getServerConfiguration()' was removed because the Java return type 'com.blabla.ServerConfiguration' could not be found.

Okay. Sounds reasonable. So I add the library to the build:

<AndroidLibrary Include="../libs/ServerConfigurationLibrary.aar" Manifest="../libs/ServerConfigurationLibrary.pom" Bind="false"/>

Still the error persists even through the .aar file contains the classes and files. So what do I not understand here?

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

9.0.14 SR1.4

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

Labels

Area: BindingsIssues in Java Library Binding projects.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions