question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

1.4.2 module contains AgpVersionAttr and causes build failures

See original GitHub issue

Please complete the following information:

  • Library Version 1.4.2

Describe the Bug:

Seems like you updated to AGP 7.1 but did not update Kotlin to contain the fix about AgpVersionAttr (1.5.32 or 1.6.10). Because of that there is the following attribute in your ballon-1.4.2.module file (which did not exist in 1.4.1):

"com.android.build.api.attributes.AgpVersionAttr": "7.1.0"

This causes builds with a different AGP version to fail with the following message:

Using multiple versions of the Android Gradle plugin(7.1.0, 7.1.1) in the same build is not allowed.

Expected Behavior:

The AgpVersionAttr should not leak and the library should be compatible across different AGP version.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
okarakosecommented, Mar 14, 2022

Is there any release date for new version for this fix? @skydoves

3reactions
skydovescommented, Feb 17, 2022

@G00fY2 Thank you for checking this! They will be included in the next stable release. 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

1.4.2 module contains AgpVersionAttr and causes build failures
This causes builds with a different AGP version to fail with the following message: Using multiple versions of the Android Gradle plugin(7.1.0, 7.1.1)...
Read more >
dependency's AAR metadata (META-INF/com/android/build ...
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction. The minCompileSdk (31) specified in a
Read more >
Known issues with Android Studio and Android Gradle Plugin
This update causes an underlying behavior change related to signing keys. When you navigate to Build > Generate Signed Bundle / APK and...
Read more >
Gradle 4.0 Unable to find a matching configuration
When I build my "new" module it would start to throw errors because it doesnt have the buildtypes in my app module. Ive...
Read more >
Unable to find a matching configuration in library project when ...
Version of Gradle Plugin: om.android.tools.build:gradle:3.0.0-alpha2 ... I seem to be running into these errors when my application module has flavors, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found