25 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
91
views
Flutter iOS build crashes with EXC_BAD_ACCESS in PathProviderPlugin
I’m running Flutter 3.32.5 (Dart 3.8.1) on iOS 18 (Xcode 15).
The app crashes on startup with:
Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)
at GeneratedPluginRegistrant.m -> PathProviderPlugin
...
1
vote
1
answer
119
views
Missing Linux implementations for path_provider, shared_preferences, and url_launcher
After updating some Linux Mint 22.2 packages (I forget which packages) I no longer able to run my Flutter app correctly because of these errors:
Package path_provider:linux references ...
2
votes
1
answer
236
views
Error: Could not create task ':path_provider_android:compileDebugUnitTestSources' in Flutter project
I'm encountering an error when building my Flutter project, and I have been unable to resolve it after trying various solutions. Here is the error message I am getting:
The supplied phased action ...
4
votes
0
answers
3k
views
Flutter Build Failed: Execution Failed for Task ':path_provider_android:compileDebugJavaWithJavac' Due to JdkImageTransform Error
I'm encountering a build error while trying to run my Flutter project using Android Studio Hedgehog on Windows 11. The error specifically occurs during the :path_provider_android:...
0
votes
0
answers
68
views
FutureBuilder not showing News list tile
I am trying to show the Fetch Items via the News List tile in my app project, but it seems no data is showing. it is still stuck on 'Streams still loading' and I don't know what is going on.
so I will ...
2
votes
0
answers
65
views
PlatformException when calling getApplicationDocumentsDirectory on Flutter/Android release builds
In an Android release build of our Flutter app, we call getApplicationDocumentsDirectory in main.dart (after WidgetsFlutterBinding.ensureInitialized();) in order to initialize Hive (3rd party library ...
1
vote
1
answer
382
views
(MissingPluginException) in unit test for Flutter using Path Provider and Hive
I'am tryng to run my unit test for this project, and it's giving me this error message:
MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins....
1
vote
0
answers
132
views
How do I inspect a file in Flutter's Application-Documents-Directory?
After writing the file counter.txt
Future<File> get _localFile async {
final path = await _localPath;
return File('$path/counter.txt');
}
located in a folder specified by ...
1
vote
1
answer
835
views
how can i use path_provider to download files from bytes in external storage, in ios and android?
How can I use path_provider to download files from bytes in external storage, like download folder, like you try to make it get the application directory, writing it and moving to external storage, ...
0
votes
1
answer
383
views
Downloading file from Flutter app to mobile phone
I am trying to export an excel file from my flutter app to my mobile. It exports the file to "Excel file exported to: /data/user/0/com.example.bmc/app_flutter/table_data.xlsx". When I check ...
1
vote
1
answer
428
views
Flutter test - FileSystemException: Creation failed, path = '/' (OS Error: Read-only file system, errno = 30) - MacOS
In running flutter test on MacOS I am getting this error:
FileSystemException: Creation failed, path = '/mock' (OS Error: Read-only file system, errno = 30)
Note that it is working fine on Windows and ...
0
votes
0
answers
27
views
Share widget screenshot on web
I'm trying to take screenshots of a widget using the screenshot package and share it. I'm using the same code in their document to try and achieve this.
path_provider doesn't work on the web, so now I'...
0
votes
1
answer
840
views
Flutter Path_provider's getExternalStorageDirectory() returns '/storage/emulated/0/Android/data/com.example.myApp/files', but it is not external dir
Path_provider's getExternalStorageDirectory() on Android returns '/storage/emulated/0/Android/data/com.example.myApp/files', but it is not external directory. It should return something like '/storage/...
1
vote
0
answers
108
views
Flutter Saving CSV to Android and iOS Filesystem
I have been reading a number of different Stackoverflow answers that say to use the path_provider plugin. I think I have everything workign fine but its not quite saving.
// Convert the data to CSV ...
1
vote
1
answer
82
views
flutter path_provider never shows the path to my sdcard
I just tried the example from path_provider github and this function : getExternalStorageDirectories() return the path: /storage/emulated/0/ etc... but never /storage/xxx-xxx/ etc relative to my ...