Coder Social home page Coder Social logo

编译不通过 about fresco HOT 15 CLOSED

facebook avatar facebook commented on April 28, 2024
编译不通过

from fresco.

Comments (15)

kongnanlive avatar kongnanlive commented on April 28, 2024

建议你发问题先看看是否已经有类似问题了!去 issue #5找答案。

from fresco.

appledong avatar appledong commented on April 28, 2024

@kongnanlive .我看了那个问题按照上面说的配置了path甚至修改了命令行,但是仍然不能编译通过,阁下已经编译通过了么?谢谢

from fresco.

liaohuqiu avatar liaohuqiu commented on April 28, 2024

没有安装ndk或者ndk路径不在$PATH变量之中。

from fresco.

liaohuqiu avatar liaohuqiu commented on April 28, 2024

I think this issue can be closed now.
The reason for the failure of task :imagepipeline:ndk_build_gifimage is that ndk has not been installed correctly.

from fresco.

appledong avatar appledong commented on April 28, 2024

你好,打扰一下:
fb的框架fresco你能够编译通过么?我按照上面说的方法配置了ndk的path路径,甚至修改了组建文件,但是还是报哪个错误,麻烦帮忙看一下,谢谢!

[email protected]

发件人: 孔楠
发送时间: 2015-03-30 17:25
收件人: facebook/fresco
抄送: appledong
主题: Re: [fresco] 编译不通过 (#36)
建议你发问题先看看是否已经有类似问题了!去 issue #5找答案。

Reply to this email directly or view it on GitHub.

from fresco.

kongnanlive avatar kongnanlive commented on April 28, 2024

@appledong 还没解决吗?

from fresco.

appledong avatar appledong commented on April 28, 2024

@kongnanlive 还没有,我配置了NDK_ROOT和path路径,还是运行不起来

from fresco.

liaohuqiu avatar liaohuqiu commented on April 28, 2024

echo $PATH ?

from fresco.

liaohuqiu avatar liaohuqiu commented on April 28, 2024

./gradlew :imagepipeline:ndk_build_gifimage --stacktrace

from fresco.

kongnanlive avatar kongnanlive commented on April 28, 2024

@appledong @liaohuqiu 加了也没用,必须修改imagepipeline/build.gradle文件,把commandline 'ndk-build' 替换成commandLine '你的ndk路径/ndk-build'才行。

from fresco.

appledong avatar appledong commented on April 28, 2024

@kongnanlive @liaohuqiu commandLine 'E/android-ndk-r10d/ndk-build',
'NDK_APPLICATION_MK=../Application.mk',
'NDK_OUT=' + temporaryDir,
"NDK_LIBS_OUT=$buildDir/$name",
'-C', file("src/main/jni/$name").absolutePath,
'clean' 我这样修改了但是还是报错

from fresco.

kongnanlive avatar kongnanlive commented on April 28, 2024

你确定windows的路径是这样?试试E:\android-ndk-r10d\ndk-build.cmd 记得带上cmd

from fresco.

appledong avatar appledong commented on April 28, 2024

Error:(148) *** Android NDK: Aborting . Stop.
Android NDK: Please define the NDK_PROJECT_PATH variable to point to it.
make.exe: Entering directory F:/fresco-master/fresco-master/imagepipeline/src/main/jni/gifimage' make.exe: Leaving directoryF:/fresco-master/fresco-master/imagepipeline/src/main/jni/gifimage'

from fresco.

BaronZ avatar BaronZ commented on April 28, 2024

+1
Error:(148) *** Android NDK: Aborting . Stop.
Android NDK: Please define the NDK_PROJECT_PATH variable to point to it.

make.exe: Entering directory F:/fresco-master/fresco-master/imagepipeline/src/main/jni/gifimage' make.exe: Leaving directoryF:/fresco-master/fresco-master/imagepipeline/src/main/jni/gifimage'

from fresco.

mrljdx avatar mrljdx commented on April 28, 2024

@appledong I had the same problem , my solution is edit the /imagepipeline/gradle.properties as below

    ##解决问题:https://github.com/facebook/fresco/issues/36
    ndk.path=/Users/Mrljdx/Library/Android/sdk/ndk-bundle

Change the ndk.path to your's local path~,and then compile the project ,it will be compiled success ~

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.