Open-TEE / opentee-android

Android code/libraries for deploying and running Open TEE code
https://github.com/Open-TEE
Apache License 2.0
50 stars 24 forks source link

Error while building #6

Open AttilioLughetta opened 7 years ago

AttilioLughetta commented 7 years ago

: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.

BUILD FAILED

Total time: 8.325 secs `

Someone can help me?

ritesh-bhavsar86 commented 7 years ago

Guys please replay we got same issue "NDK build failed "

yonadavs commented 6 years ago

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)

K3n20 commented 4 years ago

: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'.

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

1000Hills commented 3 years ago

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 FAILED

FAILURE: 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?