Taras
Taras

Reputation: 2576

Android ndk-build failed

I'm trying to debug .so library, using NDK for Android.

I'm able to build .so library, using ndk-build. But when I want to debug my library, I set ndk-build NDK_DEBUG = 1 and receive following error: make: * empty variable name. Stop.

And also I receive the error: Unable to launch cygpath. Is Cygwin on the path? Appreciate any help, thanks

Upvotes: 0

Views: 5663

Answers (1)

Chris Stratton
Chris Stratton

Reputation: 40347

You must remove the spaces in the assignment, ie

ndk-build NDK_DEBUG=1

rather than

ndk-build NDK_DEBUG = 1

Upvotes: 10

Related Questions