project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.16k stars 1.9k forks source link

[Android][Build] Android studio build too slow #28249

Open Allen-Guof opened 11 months ago

Allen-Guof commented 11 months ago

Build issue(s)

I want to build source code with Android Studio. And set matterSdkSourceBuild=true.

However, Android Studio often keeps showing "updating symbols" all the time. After a long time, Android Studio is very likely to freeze. Is there any way to improve this? I'm using a 2018 Mac mini, 3.2 GHz 6-Core Intel Core i7, 16 GB 2667 MHz DDR4. image

Platform

android

Anything else?

No response

Allen-Guof commented 8 months ago

@yunhanw-google ,Hi, I'd like to inquire about the minimum hardware requirements for this project. I'm considering whether my computer's performance is sufficient to run this project. If you could provide information regarding the minimum requirements for CPU, memory... I would greatly appreciate it.

CaoJieNan commented 4 months ago

I have also encountered the same problem recently. Is there a way to solve it.

andriy-svirskyy commented 3 months ago

Observing this issue too.

Android Studio Iguana | 2023.2.1 Patch 1
Build #AI-232.10300.40.2321.11567975, built on March 13, 2024
Runtime version: 17.0.9+0-17.0.9b1087.7-11185874 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.5.0-26-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 10240M
Cores: 3
Registry:
    ide.experimental.ui=true

Current Desktop: LXQt