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

Android Studio goes "indexing..." at /home directory which takes infinite time and prevents any further operation #11

Closed
atsushieno opened this issue Apr 22, 2020 · 5 comments
Labels

Comments

@atsushieno
Copy link
Owner

atsushieno commented Apr 22, 2020

It took like an entire night to finish indexing at "/home" (which actually is ~/, not /home) which is stupid. The problem is that unless AS finishes that "indexing" step, it does not load device list and no further exec/debug operation cannot be performed.

AAP itself has no problem. Projucer-generated default GUI App has no problem either. Something between them and this is causing the issue.

image

@atsushieno
Copy link
Owner Author

It is because .idea/modules/app/Android.app.iml lists /home under <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7">.

Either Projucer, any AS 4.1 features, past versions of AS 4.x, or extensions (Flutter, Rust etc.) is/was causing this. Removing this made the issue gone. We still have to observe this so that it does not happen again.

@atsushieno
Copy link
Owner Author

When I tried AudioPluginHost, /home still appears on the "Project Files" perspective, even after I removed the corresponding entry above, but it does not index /home.

@atsushieno
Copy link
Owner Author

... and it's gone after I updated AGP version as Android Studio requests. It's almost heisenbug.

@atsushieno atsushieno changed the title blocker: Android Studio goes "indexing..." at /home directory which takes infinite time and prevents any further operation Android Studio goes "indexing..." at /home directory which takes infinite time and prevents any further operation Apr 22, 2020
@atsushieno atsushieno added the enhancement New feature or request label Jul 9, 2020
@atsushieno
Copy link
Owner Author

atsushieno commented Jul 9, 2020

Found a related Android Studio issue: https://issuetracker.google.com/issues/159719671

There actually are many issues with related to indexing that Google doesn't really respect.

@atsushieno atsushieno added upstream and removed enhancement New feature or request labels Jul 10, 2020
@atsushieno
Copy link
Owner Author

In these 9 months, the situation was slowly getting better, and with the latest Arctic Fox 2020.3.1 I am not suffered from it so far. Closing.

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

No branches or pull requests

1 participant