Javacv: INSTALL_FAILED_INVALID_APK with 1.5.2

Created on 23 Mar 2020  路  3Comments  路  Source: bytedeco/javacv

Im trying to use FFmpegFrameGrabber in Android but when I try to install i get the INSTALL_FAILED_INVALID_APK error.
I start with empty project then add ffmpeg.jar, ffmpeg-android-arm.jar, javacpp.jar, javacv.jar into app/libs then add those as jar dependencies in project structure

I'm using android studio 3.6.1
Thanks for help

enhancement help wanted question

Most helpful comment

So the error I was getting was caused by failing to extract native libraries which is fixed by adding

android:extractNativeLibs="true"

into androidManifest.xml into application section. It might be useful to add this into readme in case others run into the same issue

All 3 comments

There should be more details about why it's "invalid". Please show all the information that it provides.

So the error I was getting was caused by failing to extract native libraries which is fixed by adding

android:extractNativeLibs="true"

into androidManifest.xml into application section. It might be useful to add this into readme in case others run into the same issue

I see, thanks for reporting! Please feel free to update appropriate files and pages. The sample projects could also use an update here: https://github.com/bytedeco/sample-projects Contributions welcome!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wongjoel picture wongjoel  路  5Comments

fif10 picture fif10  路  3Comments

Maleandr picture Maleandr  路  3Comments

kongqw picture kongqw  路  4Comments

The-Crocop picture The-Crocop  路  5Comments