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.52k stars 2.02k forks source link

[BUG] [Android] Cannot build CHIPTest #23082

Open mfucci opened 2 years ago

mfucci commented 2 years ago

Reproduction steps

1.Run./scripts/build/build_examples.py --target android-arm64-chip-test build
2.The build fails with "clang++: error: linker command failed with exit code 1"

(full logs attached)

Extra info:
Building the Android ChipTool using "./scripts/build/build_examples.py --target android-arm64-chip-tool build" works so:
* the Matter sources have been pulled correctly
* Matter compiler toolchain is working
* Android compiler toolchain is working

Bug prevalence

Every time

GitHub hash of the SDK that was being used

0bff5ad04c696626ce3aa8fcc5c9e229ed8bacf0

Platform

android

Platform Version(s)

No response

Anything else?

logs.txt

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

kanlll commented 1 year ago

I also met this issue, is there anyone has solved this issue already?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.