devhyper / open-video-editor

Open source Android video editor, built with Media3 and Jetpack Compose.
GNU General Public License v3.0
289 stars 12 forks source link

[Bug] Unable to select a video #13

Closed petlyh closed 6 months ago

petlyh commented 6 months ago

Bug description

Pressing the Select button to choose a video file opens a screen with the text Something went wrong and the Google Play Services icon.

Related question: Does this app depend on Google Play Services?

Screenshot

Device/version info

App version: 1.0.1 OS version: Android 8.0 (stock) Device model: Samsung Galaxy S7 Edge

devhyper commented 6 months ago

The app doesn't depend on play services, I believe the play services popup is because play services is trying to provide a fallback for the media picker that is only available on Android 12+. Non play service devices use the fallback provided by AOSP. I'll add a toggle in settings to force a legacy AOSP media picker.

devhyper commented 6 months ago

Try this build and let me know if it works. Make sure to first go to the settings of the app and toggle on "Use legacy file picker". app-debug.zip

petlyh commented 6 months ago

Thanks for the quick response. The debug build you provided works as expected for me after enabling that option.