Well here is the source code of a project (Router Keygen) that i am trying to debug on my device. Unfortunately, when i run it i get the following error:
Error:Execution failed for task ':routerKeygen:ndkBuild'.
> Process 'command 'C:\Users\Dev\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd'' finished with non-zero exit value 2
Show many posts. I can't understand whether ndk is correctly installed (on my computer) or not. I just want to know if there is anyone who tried Router keygen and had the same error like me. If not, should i try to move ndk somewhere else?
I don't know if that's good. I went to
C:\Users\Dev\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd
directory and for the ndk-build.cmd
i press
Right-Click> Edit and change the cmd file from:
@echo off
%~dp0\build\ndk-build.cmd %*
to
@echo off
THAT works for me
I have downloaded and it build successfully. Building on Android Studio 2.2.2. Studio will ask to update gradle click update.
Pkg.Desc = Android NDK
Pkg.Revision = 12.1.2977051
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With