Build Android Project

I downloaded the latest version of the Android project v0.12.1, and I want to compile it locally. However, compiling the tunnel is quite challenging. Could you give me some debugging advice? android ndk version ?What environment variables do I need for my computer!

I noticed in the release notes that I can directly use the binary files of the tunnel, and the Android project can use it without needing to compile the tunnel model?

CMAKE_MAKE_PROGRAM
CMAKE_C_COMPILER
CMAKE_CXX_COMPILER
"What do they need to configure?"

in order to build Ziti Mobile Edge tunnel from scratch you'll need the following (it appears that you'e on a Mac):

  • working C compiler -- download Xcode from App store or gcc via homebrew brew install gcc
  • ninja build -- brew install ninja
  • have VCPKG_ROOT set to a reasonable location like $HOME/vcpkg

I haven't compiled this kind of project before, can you explain how it works?

Unfortunately, I don't think we can provide that sort of help. I would recommend looking at the project, reading the CMake files and the github action and try to learn how it all works. :frowning: sorry

to add to @TheLumberjack message,
you can read about using C/C++ code in android projects on various places on the Internet

Thank you. I'm making some progress now

Thanks, I read some information about the use of vcpkg and now I can run , it's not as difficult as I thought, my NDK version is too old

1 Like