Android Build Gradle Issues After Adding Component

Hello, I am attempting to leverage a new component (MLKit Barcode/QR Scanner) that we imported from the Marketplace. Following the supplied documentation, there are some package dependencies, so I need to add values to the Gradle entries under the Android project settings. Screenshot from the documentation:

After adjusting the build.grade entires to Suffix values, I am having trouble generating a successful android build. I have tried with the (old) versions in the sample, as well as the up to date version of each package. I can tell that it seems to find the packages, because if I put a version/name that simply does not exist then I will see a new "not found" error with the offending package name.

There are several warnings, and the actual build failure appears to be

It seems like there is some sort of conflict being introduced (likely related to existing Android FFIs that are still leveraged in the project).

I am looking for advice around resolving these Android build issues in the use case where we have existing Android FFIs in an older project, but need to import libraries through the Gradle configuration to support a Marketplace component.

Iris: 9.5.11

Android Target Version: 13

Android Studio Version: Hedgehog 2023.1.1

Hi Alex,

We will look into this issue. It will be better if we have the sample app which is started failing with updated MLKit.

Thanks,
Gaurab

Hi Guarab, unfortunately I am unable to provide the customer's application where we currently see the problem.

Hi Alex,
There is an internal JIRA against your issue initiated by @Paul Johnson; I have commented on that JIRA. You may connect with Paul regarding the same. We didn't find any issue with MLKit scanner from Marketplace, and it is working as expected. You will find HOW_TO documentation in the Marketplace page itself which will guide you how to integrate MLKit scanner in one application and what are the additional Gradle entries need to be used and where.
Thanks,
Gaurab