hi, i replace commandLine ndk-build imagepipeline.gradle to ndk-build.cmd and encoutered blow problem
build-local.mk
:imagepipeline:ndk_build_gifimage FAILED
Error:Execution failed for task ':imagepipeline:ndk_build_gifimage'.
Process 'command 'ndk-build.cmd'' finished with non-zero exit value 2
my environment is windows 7 with android studio 1.1.0, nkd version is r10d
F:\dev_tools\android-ndk-r10d\build\core\build-local.mk
Error:(148) *** Android NDK: Aborting . Stop.
Android NDK: Please define the NDK_PROJECT_PATH variable to point to it.
make.exe: Entering directory F:/1/fresco-master/imagepipeline/src/main/jni/gifimage'
make.exe: Leaving directoryF:/1/fresco-master/imagepipeline/src/main/jni/gifimage'
:imagepipeline:ndk_build_gifimage FAILED
Error:Execution failed for task ':imagepipeline:ndk_build_gifimage'.
Process 'command 'ndk-build.cmd'' finished with non-zero exit value 2
@BaronZ did you solve it?
The same problem!
I tried to add commandLine param 'NDK_PROJECT_PATH=.' , but other problems :
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
Android NDK: The following directories were searched:
Android NDK:
make.exe: Entering directory D:/github/fresco/imagepipeline/src/main/jni/gifimage'
make.exe: Leaving directoryD:/github/fresco/imagepipeline/src/main/jni/gifimage'
:imagepipeline:ndk_build_gifimage FAILED
The same problem!
Error:Execution failed for task ':imagepipeline:ndk_build_gifimage'.
A problem occurred starting process 'command 'ndk-build''
Me too! I try to change ndk-build to ndk-build.cmd and add path to local.properties, all failed! How to do?
I have same problem!
Error:(148) *** Android NDK: Aborting . Stop.
:imagepipeline:ndk_build_gifimage FAILED
Error:Execution failed for task ':imagepipeline:ndk_build_gifimage'.
Process 'command 'C:\android\android-ndk-r10d\ndk-build.cmd'' finished with non-zero exit value 2
Information:BUILD FAILED
Everyone,who solve it? share solution,thanks
Duplicate of issue #24
I have same problem.How to solve?
I fix it! check your dependencies, fresco use some three-part package like "nineoldandroids" I used "nineoldandroids" make this problem, delete it , it's work fine.
I have the same problem
please help to solve it
I have the same problem
please help to solve it.thank very much
creact a empty.c or sourceSets.main {
jni.srcDirs = []
} have no use...........................
send ur email id
Thanks & Regards,
Rakesh kushwaha
(Android Developer)
8510069810
On Tue, Dec 20, 2016 at 6:27 AM, chenzhu005774 notifications@github.com
wrote:
creact a empty.c or sourceSets.main {
jni.srcDirs = []
} have no use...........................—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/facebook/fresco/issues/47#issuecomment-268123235, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATMgpYTvxr-yOHWpHGmuVWj51nH1m3rqks5rJyfzgaJpZM4D3gcE
.
Error:Execution failed for task ':scanlibrary:ndkBuild'.
A problem occurred starting process 'command 'ndk-build.cmd''
I still having the same problem can any one plz hlp me out
I am having issue of ,
Error:Execution failed for task ':ReactAndroid:buildReactNdkLib'.
Process 'command 'D:\soft\android-ndk-r10e-windows-x86_64\android-ndk-r10e\ndk-build.cmd'' finished with non-zero exit value 2
I am working in Win 07 environment using r10e NDK.
I have the same problem
Error:Execution failed for task ':app:sample:ndkBuild'.
Process 'command 'ndk-build.cmd'' finished with non-zero exit value 2
please please please help me
Make sure that you have the NDK set up in your local.properties file: ndk.dir=/path/to/ndk/android-ndk-r15c or similar.
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 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 also solved by this!
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
OMG!,THANKS
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
thanks!
我不知道这是否好。我去了
C:\ Users \用户开发\应用程序数据\本地\的Android \ SDK \ NDK束\ NDK-build.cmd
目录和ndk-build.cmd我按
右键单击>编辑并从以下位置更改cmd文件:
@echo off
%~dp0 \ build \ ndk-build.cmd%*
to@echo off
对我有用
谢谢!
Most helpful comment
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