Comments (5)
Apparently Android Studio doesn't work with JAR files for JNI libraries anymore. We'd need to build an AAR file for that:
http://tools.android.com/tech-docs/new-build-system/aar-format
If this is something you'd like to work on, please let me know. It would be something useful for many people I'm sure. For now, it looks like we need to do it the manual way by copying the native files to a subdirectory of the the jniLibs
project folder, a procedure that doesn't seem to be documented officially anywhere...
from javacv.
I wish I knew how to do that or I would love to help out!
from javacv.
Manually installing the JAR files in Android Studio work fine though. I've updated the instructions for that here:
https://github.com/bytedeco/javacpp-presets/tree/develop#manual-installation
from javacv.
Looks like the way with copying native files to jniLibs... doesn't work anymore. My project suddenly starts crashes today and I get error (one of my favorite): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load opencv_core: findLibrary returned null.
Please tell me that I'm wrong.
Edit. I tried also with new projects
from javacv.
Extracting all the native libraries to app/src/main/jniLibs
should still work, but it's easier to just copy the JAR files themselves to the app/libs
directory. I've confirmed that Android Studio's Gradle still does the extracting of JAR files for us:
https://github.com/bytedeco/javacv#manual-installation
So I guess I'll close this issue :)
from javacv.
Related Issues (20)
- why FFmpegFrameRecorder.record() No data was retrieved?
- Problem converting frame to IplImage HOT 5
- JVM crash when calling FFmpegFrameRecorder.stop()
- How to grab audio frames from a selected audio stream when the video file has multiple audio tracks? HOT 4
- 1.15.10 - Windows 32 bits version HOT 1
- Exception: avfilter_graph_config() error -22 (For more details, make sure FFmpegLogCallback.set() has been called.)
- Low GPU Utilization When Transcoding Videos Using javacv ffmpeg
- Failed to load XXXX when running on docker; runs fine on local windows IDE. HOT 4
- How can I change the playback speed of an RTSP playback
- How to make the pictType of each video frame of the output video consistent with the original video HOT 1
- Would it be appropriate to utilize JavaCV for the purpose of sending RTCP packets?
- Can Java use the OpenCV library bound by JavaCPP for CUDA-accelerated decoding of RTSP streams HOT 2
- convert AVI, MOV, WMV в MP4 HOT 1
- Is there a way to measure memory usage by JavaCV?
- Is there an elegant way to convert processed Mat back to Frame
- In a Windows environment, using JavaCV runs without issues; however, when running on Ubuntu 16.04, errors occur. HOT 10
- Using the FFmpegFrameGrabber.start() method, one thread is blocked。 HOT 4
- M3U8 Index File Have No #EXT-X-ENDLIST HOT 2
- UnsatisfiedLinkError: java.net.URISyntaxException: Illegal character in opaque part at index 22: jar:nested:/C:/Program Files/MyApp/app/MyApp-0.9.3-SNAPSHOT.jar/!BOOT-INF/lib/openblas-0.3.26-1.5.10-windows-x86_64.jar!/org/bytedeco/openblas/windows-x86_64/jniopenblas_nolapack.dll HOT 3
- java.lang.UnsatisfiedLinkError: Could not find jniopenblas_nolapack in class, module, and library paths HOT 15
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 javacv.