-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading Firebase dependencies release reveals the following lint error: NoSuchMethodError:IncompatibleIidVersionDetector.beforeCheckEachProject #1407
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Sorry for the inconvenience! The error you are describing is a new LINT check that is incompatible with Gradle/AGP If they're using Gradle/AGP < |
Sorry! I didn't see that another similar issue had also been filed - but I hope some of this information is useful |
Thank you @andirayo! I really appreciate the workaround. I'll be sure to keep an eye on this issue - but until then, there is no major rush for this fix on my end! |
Hi, have the same issue. Unfortunately that broken lint check is part of BOM (Bill of Materials) artifact. For now I disabled that check with android {
lintOptions {
disable "IncompatibleIidVersion"
}
} as is suggested with error output. |
AGP 3.6 introduced a breaking change to lint-api making the check fail. The change switch to use reflection to support both versions of the api. Additionally the change makes the check failures more developer friendly to make sure this check does not cause failures in upcoming AGP versions. Versions tested: 3.2 through 4.1.0-alpha04 Fixes #1407
AGP 3.6 introduced a breaking change to lint-api making the check fail. The change switch to use reflection to support both versions of the api. Additionally the change makes the check failures more developer friendly to make sure this check does not cause failures in upcoming AGP versions. Versions tested: 3.2 through 4.1.0-alpha04 Fixes #1407
#1409 contains a fix for this issue. |
* Support AGP 3.6+ in the iid compatibility check. AGP 3.6 introduced a breaking change to lint-api making the check fail. The change switch to use reflection to support both versions of the api. Additionally the change makes the check failures more developer friendly to make sure this check does not cause failures in upcoming AGP versions. Versions tested: 3.2 through 4.1.0-alpha04 Fixes #1407 * Cleanup, unittests for version logic
When release ? |
@crossle We are working on the release right now and hopefully it will be available today. If we face any process related delays I will update this thread. Thanks for your patience |
Could the update be published? |
Hi, we are working on publishing it asap, it should be out later today. |
Should be launched now. |
Not sure if related, but I just updated all of my firebase libraries, and I get the following lint error:
I updated: analytics 17.2.2 -> 17.3.0 Using AGP 4.0 Beta 4 |
We are facing same issue as well with all lates updated firebase libraries, Using AGP 3.6.2 |
Same here, using:
|
[READ] Step 1: Are you in the right place?
Issues filed here should be about bugs in the code in this repository.
If you have a general question, need help debugging, or fall into some
other category use one of these other channels:
with the firebase tag.
google group.
of the above categories, reach out to the personalized
Firebase support channel.
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
Updated all the firebase dependencies last night only to receive the following lint error:
I did some digging of my own - the library jars downloaded in
com.google.firebase.installations
appears to be missing the package forlint
let alone the class itself. Furthermore, there appears to be no such class in documentation or release notes.However, I did spot two recent commits made in roughly the last 2 weeks involving the existence of
com.google.firebase.installations.lint.IncompatibleIidVersionDetector
:Relevant Code:
Insert the following dependencies in an Android project:
The text was updated successfully, but these errors were encountered: