Qt 配置android sdk ndk api
flyfish
Qt版本6.2.4
获取android不同版本的 ndk 和 sdk
设置android api
Android NDK编译错误
错误信息1
:-1: error: error: cannot open crtbegin_dynamic.o: No such file or directory
:-1: error: error: unable to find library -llog
:-1: error: error: unable to find library -landroid
:-1: error: error: unable to find library -landroid
:-1: error: error: unable to find library -ljnigraphics
:-1: error: error: unable to find library -llog
:-1: error: error: unable to find library -lc++
:-1: error: error: cannot open crtend_android.o: No such file or directory
:-1: error: linker command failed with exit code 1 (use -v to see invocation)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
错误信息2
cmath:317:9: error: no member named 'signbit' in the global namespace; did you mean 'sigwait'?
using ::signbit;
signal.h:129:5: note: 'sigwait' declared here
int sigwait(const sigset_t* __set, int* __signal);
以上是编译环境的问题,重新加载程序,切换NDK,例如切换 25.2.9519653