Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work in Android 10 #11

Open
pranishres opened this issue Oct 8, 2020 · 10 comments
Open

Doesn't work in Android 10 #11

pranishres opened this issue Oct 8, 2020 · 10 comments

Comments

@pranishres
Copy link

No description provided.

@VivekThummar52
Copy link

Please describe a little more information on what's the problem?

@aldrek
Copy link

aldrek commented Jan 9, 2021

I have tested it and it's not working on devices that have Android 10 and 11

@VivekThummar52
Copy link

I don't think so, because i have used this and it works fine in all the tested devices with Android 10.
Can you please specify where the issue occurs (while opening video or at the time of Saving video)?

@aldrek
Copy link

aldrek commented Jan 28, 2021

As fo From 2 November 2020, app updates must target Android 10 (API level 29) or higher. the target SDK and compile SDK is less than 29 in this repo. when you higher the SDK the error pops up.
I have found a solution I could make a pr to fix this repo

@VivekThummar52
Copy link

So, basically the solution is to simply add "requestLegacyExternalStorage=true" in manifest file?

@aldrek
Copy link

aldrek commented Jan 29, 2021

even with requestLegacyExternalStorage still, there is a crash happening
Capture

@VivekThummar52
Copy link

VivekThummar52 commented Jan 29, 2021

@aldrek in first line, you can see error "permission denied".
So,can you please check if you have added any required permissions or not?

@aldrek
Copy link

aldrek commented Jan 29, 2021

it's not related to any manifest permission.
As from android 10, no external binaries are allowed to be executed for security concern
I would recommend using a well-supported library for decoding the video. like this one
https://github.com/tanersener/mobile-ffmpeg

@VivekThummar52
Copy link

VivekThummar52 commented Jan 29, 2021

@aldrek yeah, sorry for that, that's what I'm using since more than one year but i thought you are cropping video using UI based tools,by the way best of luck!!

@proyo-code
Copy link

you need to update the ffmpeg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants