Skip to content

Instantly share code, notes, and snippets.

@wwin3286tw
Last active July 24, 2018 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wwin3286tw/4cb1ebccf7d38a73e6be877e04866c32 to your computer and use it in GitHub Desktop.
Save wwin3286tw/4cb1ebccf7d38a73e6be877e04866c32 to your computer and use it in GitHub Desktop.
Android Studio NDK finished with non-zero exit value 2
DATE="2018-07-24"
APPLCATION="ANDROID STUDIO"
APPLCATION_VERSION={
Android Studio 3.1.3
Build #AI-173.4819257, built on June 5, 2018
JRE: 1.8.0_152-release-1024-b02 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 7 6.1
}
OS_PLATFORM="WINDOWS"
IF ERROR_MSG=ndk-build.cmd'' finished with non-zero exit value 2
GOTO SDK DIRECTORY
FIND && EDIT ndk-build.cmd
FROM
@echo off
%~dp0\build\ndk-build.cmd %*
TO:
@echo off
%~dp0\build\ndk-build.cmd %* > ndk_debug.txt
Will output file, Goto Android Project directory, find ndk_debug.txt file
TO DEBUG.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment