Comments (15)
建议你发问题先看看是否已经有类似问题了!去 issue #5找答案。
from fresco.
@kongnanlive .我看了那个问题按照上面说的配置了path甚至修改了命令行,但是仍然不能编译通过,阁下已经编译通过了么?谢谢
from fresco.
没有安装ndk或者ndk路径不在$PATH
变量之中。
from fresco.
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.
你好,打扰一下:
fb的框架fresco你能够编译通过么?我按照上面说的方法配置了ndk的path路径,甚至修改了组建文件,但是还是报哪个错误,麻烦帮忙看一下,谢谢!
发件人: 孔楠
发送时间: 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.
@appledong 还没解决吗?
from fresco.
@kongnanlive 还没有,我配置了NDK_ROOT和path路径,还是运行不起来
from fresco.
echo $PATH ?
from fresco.
./gradlew :imagepipeline:ndk_build_gifimage --stacktrace
from fresco.
@appledong @liaohuqiu 加了也没用,必须修改imagepipeline/build.gradle文件,把commandline 'ndk-build' 替换成commandLine '你的ndk路径/ndk-build'才行。
from fresco.
@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.
你确定windows的路径是这样?试试E:\android-ndk-r10d\ndk-build.cmd 记得带上cmd
from fresco.
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 directory
F:/fresco-master/fresco-master/imagepipeline/src/main/jni/gifimage'
from fresco.
+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.
@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)
- Delayed Rendering of Images with Custom Decoders HOT 4
- How to use AbstractAdaptiveCountingMemoryCache
- Compile error with new Mac Apple Chip
- OutOfMemoryError: Failed to allocate a 251648770 byte allocation [Local large images allocation issue] HOT 2
- While updating app from playstore the images not displaying properly HOT 2
- In the document, the Korean link has been cracked to some Ad link. HOT 2
- fetchWithRequest Override
- there has a memory leak, AndroidProfile tools tips me that "mCallerContext in com.facebook.imagepipeline.cache.BitmapMemoryCacheKey"。 HOT 3
- Fresco Unsatisfied Link Error
- IllegalStateException
- when update 3.1.0 Building error:Failed to transform vito-options-3.1.0.aar HOT 2
- Libwebp v1.0.0 存在CVE-2023-4863漏洞 HOT 7
- 3.1.1 Exception loading animated gif HOT 2
- GIFs do not load on v3.1.3 HOT 3
- Bug: Crash on MIUI 14.0.5 HOT 1
- React Native app crashes on startup with fresco version 3.1.3 HOT 11
- java.lang.ClassNotFoundException: Didn't find class "com.facebook.imagepipeline.nativecode.NativeJpegTranscoderFactory"
- Fresco is dying. HOT 1
- too many gifs in recyclerview
- How to get free hard cap?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fresco.