[Nfd-dev] nfd-Android not compiling correctly

Anthony Dowling dowlinah at clarkson.edu
Fri Jun 30 09:06:33 PDT 2017


Hello all,

While compiling nfd-Android using the gradlew program provided on github, I
receive the attached error. Does anyone have an idea on how to fix that
error?

Thanks for your time,
Anthony Dowling

// error below:

tony at THE-T420:~/android-dev/NFD-android$ ./gradlew assembleDebug
Cannot sign .apk: specify keystore, keystore.password, keystore.key.alias,
and keystore.key.password in local.properties.
Incremental java compilation is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72311Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42311Library UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:mergeDebugShaders UP-TO-DATE
:app:compileDebugShaders UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
: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
/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
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....
[arm64-v8a] Compile++      : cryptest.exe <= test.cpp
[arm64-v8a] Compile++      : cryptest.exe <= bench2.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/__/__/test.o'
failed
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/__/__/test.o] Error 127
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/__/__/bench2.o'
failed
make: Leaving directory '/home/tony/android-dev/NFD-android/app/src/main'
make: *** [obj/local/arm64-v8a/objs/cryptest.exe/__/__/bench2.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.706 secs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20170630/0b47a5e9/attachment.html>


More information about the Nfd-dev mailing list