Skip to content
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

IntelliJ 2018.2 constantly re-indexing when Android Support turned on. #2511

Closed
gspencergoog opened this issue Jul 31, 2018 · 7 comments
Closed
Milestone

Comments

@gspencergoog
Copy link

gspencergoog commented Jul 31, 2018

Tonight I updated to:

IntelliJ IDEA 2018.2 (Community Edition)
Build #IC-182.3684.101, built on July 24, 2018
JRE: 1.8.0_152-release-1248-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6

And IntelliJ now continuously indexes (once a second), causing a lot of things to not work, and interrupting interaction with the UI.

It's similar to #1735, but invalidating caches/restarting or even nuking the .idea directory doesn't help.

What does help is disabling the "Android Support" plugin (with the obvious down side. :-)). That seems to fix the problem, but only until I turn it on again.

The log says repeatedly (once per second):
2018-07-30 21:19:54,241 [ 212868] INFO - pl.ProjectRootManagerComponent - project roots have changed
2018-07-30 21:19:54,252 [ 212879] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 4ms; general responsiveness: ok; EDT responsiveness: ok
2018-07-30 21:19:54,285 [ 212912] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 33ms; general responsiveness: ok; EDT responsiveness: ok

Version info

[✓] Flutter (Channel curve_animations, v0.5.8-pre.184, on Mac OS X 10.13.6 17G65, locale en-US)
    • Flutter version 0.5.8-pre.184 at /Users/gspencer/code/flutter
    • Framework revision 4c4e7554d3 (7 days ago), 2018-07-23 11:25:48 -0700
    • Engine revision af855e063a
    • Dart version 2.0.0-dev.69.4.flutter-08f59e5de3

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
    • Android SDK at /Users/gspencer/Library/Android/sdk
    • Android NDK at /Users/gspencer/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.1
    • ANDROID_HOME = /Users/gspencer/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] IntelliJ IDEA Community Edition (version 2018.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 26.0.3
    • Dart plugin version 182.3569.4

[✓] Connected devices (1 available)
    • Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 7.1.1 (API 25) (emulator)

• No issues found!

Here's my current log file:
idea.log

@alexander-doroshko
Copy link
Contributor

The problem is probably caused by this issue. Could you please try IntelliJ IDEA 2018.2.1 RC where the problem should be fixed? (You may switch to EAP update channel in Preferences | Appearance & Behavior | System Settings | Updates and check for updates).

@jwren
Copy link
Member

jwren commented Jul 31, 2018

@stevemessick for FYI

Reopen if you suspect that you are hitting something else.

@jwren jwren closed this as completed Jul 31, 2018
@devoncarew
Copy link
Member

@jwren, this issue is severe enough that we may want to consider keeping it open until the fix rolls into the stable version of 2018.2, and / or updating our known issues list on the readme and mentioning something in the release notes.

@jwren jwren reopened this Jul 31, 2018
@jwren jwren added this to the On Deck milestone Jul 31, 2018
@gspencergoog
Copy link
Author

OK, I tried out the EAP version, and indeed it appears to be fixed there. Thanks. I'll stick to EAP until it makes it to stable and then switch back to stable.

@devoncarew
Copy link
Member

I updated the readme to reference this issue (109e9f3); we expect the fix to be in the stable version of 2018.2 ~next week.

@rvowles
Copy link

rvowles commented Aug 4, 2018

It is worth keeping this issue open so people like me can more find it and find a resolution. It was driving me bonkers :-)

@devoncarew devoncarew modified the milestones: On Deck, M28 Aug 6, 2018
@devoncarew
Copy link
Member

IntelliJ IDEA 2018.2.1 is out, and this does look fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants