Hi Compose Team: Today the Compose source sudd...
# compose-android
z
Hi Compose Team: Today the Compose source suddenly report an error during gradle sync on my desktop(Ubuntu 20.04). I'm pretty sure it was working fine last week, compiling and running perfectly. I tried do "repo sync" this morning, but issue still occured, could you please give me some suggestion or instruction to fix it? Thanks a lot!
Copy code
org.jetbrains.kotlin.gradle.plugin.ide.dependencyResolvers.IdeVisibleMultiplatformSourceDependencyResolver failed on :jetpack-compose:material3:material3-adaptive-navigation-suite::jetpack-compose:material3:material3-adaptive-navigation-suite/commonMain
java.io.FileNotFoundException: ~/androidx-main/out/androidx/compose/material3/material3/build/kotlinProjectStructureMetadata/kotlin-project-structure-metadata.json (No such file or directory)
same 2
s
Try deleting
out
folder at the root of the repo and syncing again Probably some Kotlin cache shenanigans
z
Tried but useless, I redownload androidx project from Github twice yesterday, but issue still happened. T_T
Let me describe my operation:
Copy code
1. mkdir androidx-main && cd androidx-main
2. repo init -u <https://android.googlesource.com/platform/manifest> \
    -b androidx-main --partial-clone --clone-filter=blob:limit=10M
3. repo sync -c -j32
4. cd frameworks/support
5. ./studiow compose
6. wait Android Studio launch up and gradle sync
7. issue happened
s
Hm, not sure A number of people use Linux internally and I haven't seen this issue reported before
z
Em...strange... 🤔
l
Having the same issue
s
Can you file a bug to AndroidX infra?
l
I'm not familiar on how to do it. Did you solve it somehow? @Zeming
z
@shikasd @Luca Fioravanti Sorry for late, I already submitted a bug to AndroidX Infra. The link is here: https://issuetracker.google.com/issues/412206245
👍 1
l
Were you able to solve it by doing a build as they suggested? If so, what command did you actually execute? @Zeming
z
I replied the comment, I can build projects successfully, but it still can reproduced if I do gradle sync again. @Luca Fioravanti
1