Open AttilioLughetta opened 7 years ago
Guys please replay we got same issue "NDK build failed "
Your're probably building on widows, while "ndk-build" is for other OSs.
You need to change commandLine "$ndkDir/ndk-build",
in otservice build.gradle to commandLine "$ndkDir/ndk-build.cmd",
(in 2 places, one for build, one for clean)
:otservice:cleanNative make: Entering directory
/home/attilio/opentee-android/otservice/src/main/jni' /home/attilio/android-ndk-r14b/build/core/build-binary.mk:687: Android NDK: Module nativelibtee-jni depends on undefined modules: c /home/attilio/android-ndk-r14b/build/core/build-binary.mk:700: *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies) . Stop. make: Leaving directory `/home/attilio/opentee-android/otservice/src/main/jni' :otservice:cleanNative FAILEDFAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':otservice:cleanNative'.
Process 'command '/home/attilio/android-ndk-r14b/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: 8.325 secs `
Someone can help me?
Hi, were you able to fix this issue? I need this project to build a solution that's part of my college project. I am also facing the same issue
Any solution to this?
:otservice:cleanNative make: Entering directory
/home/attilio/opentee-android/otservice/src/main/jni' /home/attilio/android-ndk-r14b/build/core/build-binary.mk:687: Android NDK: Module nativelibtee-jni depends on undefined modules: c /home/attilio/android-ndk-r14b/build/core/build-binary.mk:700: *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies) . Stop. make: Leaving directory `/home/attilio/opentee-android/otservice/src/main/jni' :otservice:cleanNative FAILEDFAILURE: Build failed with an exception.
* What went wrong: Execution failed for task ':otservice:cleanNative'.
Process 'command '/home/attilio/android-ndk-r14b/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: 8.325 secs `
Someone can help me?
Repost!!! Any solutions?
:otservice:cleanNative make: Entering directory
/home/attilio/opentee-android/otservice/src/main/jni' /home/attilio/android-ndk-r14b/build/core/build-binary.mk:687: Android NDK: Module nativelibtee-jni depends on undefined modules: c/home/attilio/android-ndk-r14b/build/core/build-binary.mk:700: *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies) . Stop. make: Leaving directory `/home/attilio/opentee-android/otservice/src/main/jni' :otservice:cleanNative FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':otservice:cleanNative'.
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: 8.325 secs `
Someone can help me?