Coder Social home page Coder Social logo

Comments (24)

buixuanthe2212 avatar buixuanthe2212 commented on April 28, 2024 26

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

from fresco.

FitApps7 avatar FitApps7 commented on April 28, 2024 1

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!

from fresco.

BaronZ avatar BaronZ commented on April 28, 2024

my environment is windows 7 with android studio 1.1.0, nkd version is r10d

from fresco.

BaronZ avatar BaronZ commented on April 28, 2024

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

from fresco.

hyvenzhu avatar hyvenzhu commented on April 28, 2024

@BaronZ did you solve it?

from fresco.

wenjianxue avatar wenjianxue commented on April 28, 2024

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

from fresco.

wanglg avatar wanglg commented on April 28, 2024

The same problem!
Error:Execution failed for task ':imagepipeline:ndk_build_gifimage'.

A problem occurred starting process 'command 'ndk-build''

from fresco.

xuwt avatar xuwt commented on April 28, 2024

Me too! I try to change ndk-build to ndk-build.cmd and add path to local.properties, all failed! How to do?

from fresco.

arlong avatar arlong commented on April 28, 2024

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

from fresco.

tyronen avatar tyronen commented on April 28, 2024

Duplicate of issue #24

from fresco.

ruancaipu avatar ruancaipu commented on April 28, 2024

I have same problem.How to solve?

from fresco.

lkw103037 avatar lkw103037 commented on April 28, 2024

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.

from fresco.

 avatar commented on April 28, 2024

I have the same problem
please help to solve it

from fresco.

chenzhu005774 avatar chenzhu005774 commented on April 28, 2024

I have the same problem
please help to solve it.thank very much

from fresco.

chenzhu005774 avatar chenzhu005774 commented on April 28, 2024

creact a empty.c or sourceSets.main {
jni.srcDirs = []
} have no use...........................

from fresco.

 avatar commented on April 28, 2024

from fresco.

impasoftware avatar impasoftware commented on April 28, 2024

Error:Execution failed for task ':scanlibrary:ndkBuild'.

A problem occurred starting process 'command 'ndk-build.cmd''

from fresco.

MM-Furkan avatar MM-Furkan commented on April 28, 2024

I still having the same problem can any one plz hlp me out

from fresco.

sachinrkeche avatar sachinrkeche commented on April 28, 2024

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.

from fresco.

TheLostIn avatar TheLostIn commented on April 28, 2024

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

from fresco.

oprisnik avatar oprisnik commented on April 28, 2024

Make sure that you have the NDK set up in your local.properties file: ndk.dir=/path/to/ndk/android-ndk-r15c or similar.

from fresco.

DreamAndLife avatar DreamAndLife commented on April 28, 2024

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

from fresco.

fjz97 avatar fjz97 commented on April 28, 2024

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!

from fresco.

kanglyh avatar kanglyh commented on April 28, 2024

我不知道这是否好。我去了

C:\ Users \用户开发\应用程序数据\本地\的Android \ SDK \ NDK束\ NDK-build.cmd

目录和ndk-build.cmd我按

右键单击>编辑并从以下位置更改cmd文件:

@echo off
%~dp0 \ build \ ndk-build.cmd%*
to

@echo off
对我有用

谢谢!

from fresco.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.