java.lang.NoSuchMethodError

no static or non-static method "Lcom/facebook/imagepipeline/nativecode/WebpTranscoder;.nativeTranscodeWebpToJpeg(Ljava/io/InputStream;Ljava/io/OutputStream;I)V"


Solutions on the web14744

Solution icon of github
no static or non-static method "Lcom/facebook/imagepipeline/nativecode/WebpTranscoder;.nativeTranscodeWebpToJpeg(Ljava/io/InputStream;Ljava/io/OutputStream;I)V"

Solution icon of github
via GitHub by ChansEbm
, 10 months ago
no static or non-static method "Lcom/facebook/imagepipeline/nativecode/WebpTranscoder;.nativeTranscodeWebpToJpeg(Ljava/io/InputStream;Ljava/io/OutputStream;I)V"

Solution icon of github
no static or non-static method "Lcom/facebook/imagepipeline/nativecode/WebpTranscoder;.nativeTranscodeWebpToJpeg(Ljava/io/InputStream;Ljava/io/OutputStream;I)V"

Solution icon of github
via GitHub by maikoulin
, 1 year ago
no static or non-static method "Lcom/facebook/imagepipeline/nativecode/Bitmaps;.nativeGetByteBuffer(Landroid/graphics/Bitmap;JJ)Ljava/nio/ByteBuffer;"

Solution icon of github
no static or non-static method "Lcom/facebook/imagepipeline/nativecode/Bitmaps;.nativeGetByteBuffer(Landroid/graphics/Bitmap;JJ)Ljava/nio/ByteBuffer;"

Solution icon of github
no static or non-static method "Lcom/facebook/imagepipeline/nativecode/Bitmaps;.nativeCopyBitmap(Landroid/graphics/Bitmap;ILandroid/graphics/Bitmap;II)V"

Solution icon of github
no static or non-static method "Lcom/facebook/imagepipeline/nativecode/Bitmaps;.nativeCopyBitmap(Landroid/graphics/Bitmap;ILandroid/graphics/Bitmap;II)V"

Solution icon of github
via GitHub by sangmingming
, 1 year ago
no static or non-static method "Lcom/facebook/imagepipeline/gif/GifImage;.nativeCreateFromDirectByteBuffer(Ljava/nio/ByteBuffer;)Lcom/facebook/imagepipeline/gif/GifImage;"

Solution icon of github
no static or non-static method "Lcom/facebook/react/cxxbridge/CatalystInstanceImpl;.loadScriptFromOptimizedBundle(Ljava/lang/String;Ljava/lang/String;I)V"

Solution icon of web
no static or non-static method "Lcom/foo/Bar;.native_frob(Ljava/lang/String;)I"

Stack trace

  • java.lang.NoSuchMethodError: no static or non-static method "Lcom/facebook/imagepipeline
  • ativecode/WebpTranscoder;.nativeTranscodeWebpToJpeg(Ljava/io/InputStream;Ljava/io/OutputStream;I)V" at java.lang.Runtime.nativeLoad(Runtime.java) at java.lang.Runtime.doLoad(Runtime.java:421) at java.lang.Runtime.loadLibrary(Runtime.java:362) at java.lang.System.loadLibrary(System.java:526) at com.facebook.common.soloader.SoLoaderShim$DefaultHandler.loadLibrary(SoLoaderShim.java:32) at com.facebook.common.soloader.SoLoaderShim.loadLibrary(SoLoaderShim.java:56) at com.facebook.imagepipeline.nativecode.ImagePipelineNativeLoader.load(ImagePipelineNativeLoader.java:43) at com.facebook.imagepipeline.memory.NativeMemoryChunk.<init>(NativeMemoryChunk.java) at com.facebook.imagepipeline.memory.NativeMemoryChunkPool.alloc(NativeMemoryChunkPool.java:60) at com.facebook.imagepipeline.memory.NativeMemoryChunkPool.alloc(NativeMemoryChunkPool.java:22) at com.facebook.imagepipeline.memory.BasePool.get(BasePool.java:259) at com.facebook.imagepipeline.memory.NativePooledByteBufferOutputStream.<init>(NativePooledByteBufferOutputStream.java) at com.facebook.imagepipeline.memory.NativePooledByteBufferFactory.newByteBuffer(NativePooledByteBufferFactory.java:98) at com.facebook.imagepipeline.memory.NativePooledByteBufferFactory.newByteBuffer(NativePooledByteBufferFactory.java:26) at com.facebook.imagepipeline.cache.BufferedDiskCache.readFromDiskCache(BufferedDiskCache.java:338) at com.facebook.imagepipeline.cache.BufferedDiskCache.access$400(BufferedDiskCache.java:38) at com.facebook.imagepipeline.cache.BufferedDiskCache$2.call(BufferedDiskCache.java:184) at com.facebook.imagepipeline.cache.BufferedDiskCache$2.call(BufferedDiskCache.java:168) at bolts.Task$4.run(Task.java:357) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

16 times, 1 month ago
88 times, 1 year ago
58 times, 9 months ago
227 times, 1 year ago
9 times, 1 year ago