我运行了 NDK 项目,然后键入命令。它会产生错误。我不知道如何解决它。
这是命令。
hieund@hieund:~/Programs/AndroidNDK/samples/hello-gl2$ $NDK_HOME/ndk-gdb
/home/hieund/Programs/AndroidNDK/build/core/build-local.mk:40: build/core/init.mk: No such file or directory
/home/hieund/Programs/AndroidNDK/build/core/build-local.mk:166: /add-application.mk: No such file or directory
/home/hieund/Programs/AndroidNDK/build/core/build-local.mk:174: /setup-imports.mk: No such file or directory
/home/hieund/Programs/AndroidNDK/build/core/build-local.mk:191: /build-all.mk: No such file or directory
make: *** No rule to make target `/build-all.mk'. Stop.
ERROR: The device does not support the application's targetted CPU ABIs!
Device supports: armeabi-v7a armeabi
Package supports:
我检查了make的版本,没问题。
hieund@hieund:~/Programs/AndroidNDK/samples/hello-gl2$ make -version
GNU Make version 3.75, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <bug-gnu-utils@prep.ai.mit.edu>.