atsushieno / aap-juce

AAP (Audio Plugins For Android) JUCE integration.
GNU General Public License v3.0
15 stars 1 forks source link

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

Closed atsushieno closed 3 years ago

atsushieno commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

atsushieno commented 4 years ago

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 commented 3 years ago

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.