Fahim Mahmud
Fahim Mahmud

Reputation: 1

MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel

for this code Future get mylocalPath async { final directory = await getApplicationDocumentsDirectory();

return directory.path;

}

I tried flutter clean flutter pub get outgrade etc restrat

but no solve

For reading and writing in file, i need the path location

Upvotes: 0

Views: 92

Answers (2)

Jacob Larte
Jacob Larte

Reputation: 1

Close the application and open it again, this problem happens when you add packages that need to be initialized when the application is compiled for the first time. Hope this helps

Upvotes: 0

Sahil Totala
Sahil Totala

Reputation: 113

Can you please close the current app and re-run the app

Upvotes: 0

Related Questions