Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while building #6

Open
AttilioLughetta opened this issue Apr 13, 2017 · 4 comments
Open

Error while building #6

AttilioLughetta opened this issue Apr 13, 2017 · 4 comments

Comments

@AttilioLughetta
Copy link

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

@ritesh-bhavsar86
Copy link

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

@yonadavs
Copy link

yonadavs commented Nov 13, 2017

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
Copy link

K3n20 commented Jul 28, 2020

: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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants