刘志勇
刘志勇
yes, you can use the `cmdline-tools/bin/sdkmanager` to install the build-tools, platform-tools etc. but you still need to replace them, since these binaries are for x84_64 architecture not aarch64
There is no ar tool in the official Ndk, use the llvm-ar instead of GNU ar
the next version will provide a statically linked version
Please wait for upstream updates. the current version released by Google is 35.0.2 next update is 35.0.3
The statically linked version has been uploaded
Building [android-app](https://github.com/lzhiyong/termux-ndk/tree/master/build-app) with command line on devices
modify `protobuf/CMakeLists.txt` ```CMakeLists.txt # L298 # add android to include directory # as follows include_directories( ${ZLIB_INCLUDE_DIRECTORIES} ${protobuf_BINARY_DIR} ${protobuf_SOURCE_DIR}/src ${protobuf_SOURCE_DIR}/android) ```