New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in running any flutter commands related to app - couldn't read file ErrorHandlingFile even though it exists. #48165
Comments
I am also facing the same issue. Actually, I updated the flutter and android studio after 3 months. So a lot of things have changed. I tried 'flutter pub cache repair' but still facing the same issue. Can somebody please help me tackle this issue. My app has crashed in production and I have to give an urgent release. I am unable to even run/debug my app on emulator and device as well. Couldn't read file Instance of 'ErrorHandlingFile' even though it exists. Please verify that this file has read permission and try again. |
Hi @harshapulikollu |
here is output of Log
|
@harshapulikollu I've landed a fix for the error message on master so that we should see the name of the file. If you're able to use that to investigate further and report back, that would be helpful. Thanks! /cc @blasten in case the logic below from File get appManifestFile {
return isUsingGradle
? globals.fs.file(globals.fs.path.join(hostAppGradleRoot.path, 'app', 'src', 'main', 'AndroidManifest.xml'))
: hostAppGradleRoot.childFile('AndroidManifest.xml');
} |
This will be fixed by #48104 |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Error in trying to run Flutter packages get or flutter build
Target Platform: Android
Target OS version/browser: Android 10
Devices: android studio android 10 emulator
Logs
The text was updated successfully, but these errors were encountered: