Task #4846
closedError during build of NFD-android
0%
Description
After a fresh clone of NFD-android repo I am trying to build the project with ./gradlew assembleDebug. I have not changed anything in the project. Running with --debug doesn't show any extra info. Could someone please help with this?
ciaranodc@My-Air:~/dev/NFD-android$ ./gradlew assembleDebug
Configure project :app
Cannot sign .apk: specify keystore, keystore.password, keystore.key.alias, and keystore.key.password in local.properties.Task :app:ndkBuild FAILED
Android NDK: WARNING: APP_PLATFORM android-23 is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK binaries will not be compatible with devices older than android-23. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
Android NDK: jni/Android.mk: Cannot find module with tag '../packages/nfd/0.6.5' in import path
jni/Android.mk:12: *** Android NDK: Aborting. . Stop.
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
Android NDK: The following directories were searched:
Android NDK:
make: Entering directory/Users/ciaranodc/dev/NFD-android/app/src/main'
/Users/ciaranodc/dev/NFD-android/app/src/main'
make: Leaving directory
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:ndkBuild'.Process 'command '/Users/ciaranodc/Library/Android/sdk/ndk-bundle/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. Run with --scan to get full insights.Get more help at https://help.gradle.org
BUILD FAILED in 2s
7 actionable tasks: 1 executed, 6 up-to-date