I want add image to my flutter project but is not connect . the erroe is in pubsec.yaml , file exist in file exists at correct location location (-assets/image/logo2.png) but told me the file do not exist ;
THIS IS THE ERROR
Error detected in pubspec.yaml:
No file or variants found for asset: assets/image/logo2.png.
FAILURE: Build failed with an exception.
* Where:
Script 'C:\flutter_windows_3.3.5-stable\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1159
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'C:\flutter_windows_3.3.5-stable\flutter\bin\flutter.bat'' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 9s
Exception: Gradle task assembleDebug failed with exit code 1
Hello plz can u help me in his error i wan connect flutter wih dataBase Acces but is not working i use all version of “odbc” but is not working :Because adenium2 depends on odbc any which requires SDK version <2.0.0, version solving failed.
pub get failed
command: “C:\flutter_windows_3.3.5-stable\flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub --color --directory . get
–example”
pub env: {
“FLUTTER_ROOT”: “C:\flutter_windows_3.3.5-stable\flutter”,
“PUB_ENVIRONMENT”: “flutter_cli:get”,
“PUB_CACHE”: “C:\Users\lajrab\AppData\Local\Pub\Cache”,
}
exit code: 1
plz help me