You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.follow https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/android_building.md
2. In Step Building Android CHIPTool from Android Studio with point three, Open the project in Android Studio and run File -> Sync Project with Gradle Files.
What I expect is "Build Success!".
What I get is:
C/C++ Configuration Problem
CHIPTool.app.main | debug | arm64-v8a
clang++: error: unknown argument: '-ffile-prefix-map=/Users/rafael_sw/Desktop/Gitlab_Project/connectedhomeip/out/android_arm64=out'
clang++: error: unknown argument: '-ffile-prefix-map=/Users/rafael_sw/Desktop/Gitlab_Project/connectedhomeip/='
clang++: error: unknown argument: '-ffile-prefix-map=../../='
clang: error: unknown argument: '-ffile-prefix-map=/Users/rafael_sw/Desktop/Gitlab_Project/connectedhomeip/out/android_arm64=out'
clang: error: unknown argument: '-ffile-prefix-map=/Users/rafael_sw/Desktop/Gitlab_Project/connectedhomeip/='
clang: error: unknown argument: '-ffile-prefix-map=../../='
CHIPTool.app.main | debug | arm64-v8a (10)
clang++: error: unknown argument: '-ffile-prefix-map=/Users/rafael_sw/Desktop/Gitlab_Project/connectedhomeip/out/android_arm64=out'
clang++: error: unknown argument: '-ffile-prefix-map=/Users/rafael_sw/Desktop/Gitlab_Project/connectedhomeip/='
clang++: error:... (show balloon)
I have check the clang version of my computer:
Apple clang version 14.0.0 (clang-1400.0.29.102)
Target: arm64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
#But the way I build with the script can build successfully
Reproduction steps
Bug prevalence
Whenever I do this
GitHub hash of the SDK that was being used
https://github.com/project-chip/connectedhomeip
Platform
android
Platform Version(s)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: