Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.0] ./scripts/build/build_examples.py --target android-arm64-java-matter-controller build not working #37994

Open
sandeep14 opened this issue Mar 13, 2025 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@sandeep14
Copy link

Reproduction steps

we getting below issue on mac os kindly help

2025-03-13 17:42:27 INFO Command ['mkdir', '-p', '/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/examples/android/java-matter-controller/app/libs/jniLibs/arm64-v8a'] completed
2025-03-13 17:42:27 WARNING cp: /Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/out/android-arm64-java-matter-controller/lib/jni/arm64-v8a/libCHIPController.so: No such file or directory
Traceback (most recent call last):
File "/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/./scripts/build/build_examples.py", line 248, in
main(auto_envvar_prefix='CHIP')
File "/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.11/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.11/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
rv.append(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.11/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.11/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.11/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/./scripts/build/build_examples.py", line 238, in cmd_build
context.obj.Build()
File "/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/scripts/build/build/init.py", line 75, in Build
builder.build()
File "/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/scripts/build/builders/builder.py", line 107, in build
self._build()
File "/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/scripts/build/builders/android.py", line 483, in _build
self.copyToSrcAndroid()
File "/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/scripts/build/builders/android.py", line 236, in copyToSrcAndroid
self._Execute(
File "/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/scripts/build/builders/builder.py", line 112, in _Execute
self._runner.Run(cmdarray, title=title)
File "/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/scripts/build/runner/shell.py", line 73, in Run
raise Exception('Command %r failed: %d' % (cmd, code))
Exception: Command ['cp', '/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/out/android-arm64-java-matter-controller/lib/jni/arm64-v8a/libCHIPController.so', '/Users/abcom/Documents/sandeepkudale/Matter/connectedhomeip/examples/android/java-matter-controller/app/libs/jniLibs/arm64-v8a/libCHIPController.so'] failed: 1

Bug prevalence

while runing above command

GitHub hash of the SDK that was being used

na

Platform

android

Platform Version(s)

No response

Type

Platform Issue

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
Status: Todo
Development

No branches or pull requests

2 participants