openthread / ot-commissioner

OpenThread Commissioner, a Thread commissioner for joining new Thread devices and managing Thread networks.
https://openthread.io/
BSD 3-Clause "New" or "Revised" License
49 stars 36 forks source link

Cannot resolve symbol 'ByteArray' #214

Closed Quay11 closed 3 years ago

Quay11 commented 3 years ago

When I compiled the OpenThread Commissioner Android project for the first time, an error occurred: Cannot resolve symbol 'ByteArray'. What is the reason? What should I do? Thank you very much for your answer. 20210701172534

wgtdkp commented 3 years ago

I can build the app without issues for my pixel phone. Did you follow https://github.com/openthread/ot-commissioner/blob/main/android/README.md to build the shared libraries before open the android project?

Quay11 commented 3 years ago

I can build the app without issues for my pixel phone. Did you follow https://github.com/openthread/ot-commissioner/blob/main/android/README.md to build the shared libraries before open the android project?

Thank you. I did not build successfully on Windows. I don't know if it can be successfully built on Ubuntu and then copied to Windows for use.

sookah commented 3 years ago

Same issue here, on Windows11 error: cannot find symbol import io.openthread.commissioner.ByteArray;

image

wgtdkp commented 3 years ago
  1. OT Commissioner doesn't support Windows.
  2. Follow https://github.com/openthread/ot-commissioner/blob/main/android/BUILDING.md to build.
jwhui commented 3 years ago

Closing stale issue.