You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
final status =awaitPermission.manageExternalStorage.request();
var file =awaitgetAssetByName("close.png");
var r =awaitOpenFile.open(file.path,type:"image/png");
but comes the error:
Failed to find configured root that contains /data/data/com.xxx.xxx/app_flutter/close.png.
The console log is
I/flutter ( 7072): filePath:/data/user/0/com.xxx.xxx/app_flutter/close.png
E/MethodChannel#open_file( 7072): Failed to handle method call
E/MethodChannel#open_file( 7072): java.lang.IllegalArgumentException: Failed to find configured root that contains /data/data/com.xxx.xxx/app_flutter/close.png
The path has changed. And at the same time the close.png path is "assets/close.png" and I have used it in Image Image.asset('assets/close.png')
The text was updated successfully, but these errors were encountered:
I have followed #98 , and config
then use
but comes the error:
Failed to find configured root that contains /data/data/com.xxx.xxx/app_flutter/close.png.
The console log is
The path has changed. And at the same time the close.png path is "assets/close.png" and I have used it in Image
Image.asset('assets/close.png')
The text was updated successfully, but these errors were encountered: