Search Issue Tracker

Third Party Issue

Votes

2

Found in

2021.3.41f1

2022.3.40f1

6000.0.13f1

Issue ID

UUM-77282

Regression

Yes

[Android] Build fails with Error "Cannot change dependencies of dependency configuration ':unityLibrary:implementation' after it has been included in dependency resolution.'" when using In-App Purchasing package

--

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Levels/TitleMenu.unity” Scene
3. Switch to Android Platform
4. Delete “/Assets/Plugins/Android/gradleTemplate.properties“
5. Build

Expected result: Build finishes successfully
Actual result: Build fails with Error “Cannot change dependencies of dependency configuration ':unityLibrary:implementation' after it has been included in dependency resolution.'“

Reproducible with: 4.12.0 (6000.0.13f1), 4.12.2 (2021.3.41f1, 2022.3.40f1, 6000.0.13f1)
Not reproducible with: 4.11.0 (6000.0.13f1)

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

  1. Resolution Note:

    Disabling “Remove property tag” in Google Mobile Ads fixes the issue

Comments (1)

  1. SilverFang180882

    Aug 05, 2024 10:04

    Is this actively being looked at? I kind of need a fix for this before the end of August, otherwise I can’t keep my app in Google Play.

    I'm also starting to wonder if the cause is due to the project having been updated through many versions of Unity since I first created it.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.