open_file
open_file copied to clipboard
The file cannot be opened and there is no error message
Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.10.6, on Microsoft Windows [版本 10.0.19044.3086], locale zh-CN) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [√] Chrome - develop for the web [X] Visual Studio - develop for Windows X Visual Studio not installed; this is necessary for Windows development. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components [√] Android Studio (version 4.0) [√] Android Studio (version 2020.3) [√] Connected device (5 available) [√] Network resources
! Doctor found issues in 1 category.
open_file: ^3.3.2,I added everything to the list.xml.
OpenFile.open('/sdcard/Download/161.jpg');
The system did not open the file, and the console did not prompt an error message, but it is OK for me to use the emulator, and my own mobile phone cannot be opened. This is the configuration of the emulator
,
The phone I use is an OnePlus ACE 2v, Android version 13
Each call to OpenFile.open('/sdcard/Download/161.jpg'); The console prints the following information
same problem here.
I changed the plugin and used open_filex. It will prompt that the popup window can be pulled up. You can try it
同样的问题在这里。
I changed the plugin and used open_filex. It will prompt that the popup window can be pulled up. You can try it
What did you modify to make it work?
same here