[Nfd-dev] Ongoing issues compiling nfd-Android

Anthony Dowling dowlinah at clarkson.edu
Thu Jul 6 12:58:52 PDT 2017


Hello all,

I am having some issues when trying to compile nfd-Android for an Android 6
phone. When I run the gradlew assembledebug command, it outputs error
below, and I don't understand just what this error is, or how to fix it.
Could someone help me fix this, please?


:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:processArm64-v8aDebugManifest UP-TO-DATE
:app:processArm64-v8aDebugResources UP-TO-DATE
:app:processArmeabi-v7aDebugManifest UP-TO-DATE
:app:processArmeabi-v7aDebugResources UP-TO-DATE
:app:processArmeabiDebugManifest UP-TO-DATE
:app:processArmeabiDebugResources UP-TO-DATE
:app:processMips64DebugManifest UP-TO-DATE
:app:processMips64DebugResources UP-TO-DATE
:app:processMipsDebugManifest UP-TO-DATE
:app:processMipsDebugResources UP-TO-DATE
:app:processX86DebugManifest UP-TO-DATE
:app:processX86DebugResources UP-TO-DATE
:app:processX86_64DebugManifest UP-TO-DATE
:app:processX86_64DebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:app:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
:app:copyNdnCxxHeaders UP-TO-DATE
:app:ndkBuild
make: Entering directory '/home/tony/android-dev/NFD-android/app/src/main'
[arm64-v8a] Compile++      : cryptest.exe <= bench.cpp
[arm64-v8a] Compile++      : cryptest.exe <= bench2.cpp
make:
/home/tony/android-dev/crystax-ndk-10.3.1/toolchains/aarch64-linux-android-5/prebuilt/linux-x86/bin/aarch64-linux-android-g++:
Command not found
make: *** [obj/local/arm64-v8a/objs/cryptest.exe/__/__/bench.o] Error 127
make: *** Waiting for unfinished jobs....
make:
/home/tony/android-dev/crystax-ndk-10.3.1/toolchains/aarch64-linux-android-5/prebuilt/linux-x86/bin/aarch64-linux-android-g++:
Command not found
/home/tony/android-dev/crystax-ndk-10.3.1/build/core/build-binary.mk:504:
recipe for target 'obj/local/arm64-v8a/objs/cryptest.exe/__/__/bench.o'
failed
[arm64-v8a] Compile++      : cryptest.exe <= test.cpp
/home/tony/android-dev/crystax-ndk-10.3.1/build/core/build-binary.mk:504:
recipe for target 'obj/local/arm64-v8a/objs/cryptest.exe/__/__/bench2.o'
failed
/home/tony/android-dev/crystax-ndk-10.3.1/build/core/build-binary.mk:504:
recipe for target 'obj/local/arm64-v8a/objs/cryptest.exe/__/__/test.o'
failed
make: Leaving directory '/home/tony/android-dev/NFD-android/app/src/main'
make:
/home/tony/android-dev/crystax-ndk-10.3.1/toolchains/aarch64-linux-android-5/prebuilt/linux-x86/bin/aarch64-linux-android-g++:
Command not found
make: *** [obj/local/arm64-v8a/objs/cryptest.exe/__/__/bench2.o] Error 127
make: *** [obj/local/arm64-v8a/objs/cryptest.exe/__/__/test.o] Error 127
:app:ndkBuild FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:ndkBuild'.
> Process 'command '/home/tony/android-dev/crystax-ndk-10.3.1/ndk-build''
finished with non-zero exit value 2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.

BUILD FAILED

Total time: 19.569 secs



Thanks for your time,
Anthony Dowling
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20170706/07a2563f/attachment.html>


More information about the Nfd-dev mailing list