hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.03k stars 2.15k forks source link

exposed beyond app through Intent.getData () (android.os.FileUriExposedException) #13684

Open tee4341 opened 3 years ago

tee4341 commented 3 years ago

Error Your device or Android version might be incompatible with this specific toggle. Error message:file:///storage/51IAD-98D0/Rom/PSP /0478%20-%2OBrave%20Story%20-%20Aratanaru %20Tabibito%20(Japan).cso exposed beyond app through Intent.getData () (android.os.FileUriExposedException)

Help me please...!!!!! why not run shotcut game .cso

GifMaker_lowquality7

Screenshot_20201121134751

anr2me commented 3 years ago

@tee4341 You need to provides more details on what your device is, and what android version it's using.

The error might be related to this https://stackoverflow.com/questions/38200282/android-os-fileuriexposedexception-file-storage-emulated-0-test-txt-exposed

When targeting Android Nougat, file:// URIs are not allowed anymore. We should use content:// URIs instead.
hrydgard commented 3 years ago

Does it help to just recreate the shortcut? Maybe it survived an OS upgrade and ended up incompatible...

lvonasek commented 1 year ago

This is due to a new policy since API 24: https://developer.android.com/about/versions/nougat/android-7.0-changes#sharing-files