Issue
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?
Solution
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
Answered By - BooDoo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.