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.

IDE sync profiling incompatible with Android Studio Electric Eel Canary 8

See original GitHub issue

We’ve been using Gradle-profiler to benchmark sync times with different Android Studio versions. Recently when we tried to benchmark Android Studio Electric Eel (2022.1.1) Canary 8, we found a couple errors due to incompatibility. Thank you @rogerhu for the help with this investigation

Versions:

Errors

  1. java.lang.ClassNotFoundException: com.intellij.openapi.util.SystemInfoRt
  2. Bigger, trickier issue: java.lang.IncompatibleClassChangeError: Method 'com.intellij.util.messages.MessageBusConnection com.android.tools.idea.gradle.project.sync.GradleSyncState.subscribe(com.intellij.openapi.project.Project, com.android.tools.idea.gradle.project.sync.GradleSyncListener)' must be InterfaceMethodref constant

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
mikejuyooncommented, Aug 22, 2022

@asodja 🎉 i checked the following versions with your branch and successfully measured sync! Thank you for the fix!

AI-221.5921.22.2211.8786657 = 2022.1.1.8 = Electric Eel (2022.1.1) Canary 8
AI-211.7628.21.2111.8309675 = 2021.1.1.23 = Bumblebee (2021.1.1) Patch 3
AI-212.5712.43.2112.8609683 = 2021.2.1.15 = Chipmunk (2021.2.1) Patch 1
0reactions
asodjacommented, Aug 21, 2022

@mikejuyoon I believe this will fix it: https://github.com/gradle/gradle-profiler/pull/442, if you could maybe try that with Bumblebee and Chipmunk.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Studio 2022.1.1 Closed Issues
Android Studio Electric Eel RC 1 (2022.1.1.16); Android Studio Electric Eel Beta 5 (2022.1.1.15) ... Compiler options are not included with IDE Gradle...
Read more >
Android Studio Electric Eel 2022.1.1 Beta1 is an older Canary ...
After installing new EE Beta i encountered The project is using an incompatible version (AGP 7.4.0-beta01) of the Android Gradle plugin.
Read more >
2022 - Android Studio Release Updates
Android Studio - Electric Eel | 2022.1.1 Canary 8 is now available in the Canary and Dev channels. If you already have an...
Read more >
Android Studio Electric Eel Canary 8 now available - Reddit
206K subscribers in the androiddev community. News for Android developers with the who, what, where, when and how of the Android community.
Read more >
Android Studio Official IDE Software Review by GoodFirms
For the Canary and Dev channels - Android Studio Electric Eel Canary 2 is currently available. For the Beta Channel - Android Studio...
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