Your error seems to be caused by a missing ic_close_bubble resource in your project. Here’s how you can fix it:
sh Copy Edit flutter clean flutter pub get flutter run --debug This clears old files and refreshes your dependencies.
yaml Copy Edit dependencies: dash_bubble: ^latest_version Then, update everything:
sh Copy Edit flutter pub upgrade 4. Allow Deprecated Code (Temporary Fix) Since your log mentions deprecated APIs, you can allow them for now by running:
sh Copy Edit flutter run --debug --no-sound-null-safety Or edit android/gradle.properties and add:
properties Copy Edit kotlin.options.freeCompilerArgs += ["-Xlint:deprecation"] 5. Fix Kotlin Version Issue Your project is using Kotlin 2.1.10, which might not be compatible with some plugins. Try changing it in android/build.gradle:
gradle Copy Edit ext.kotlin_version = '1.9.22' Then, sync Gradle by running:
sh Copy Edit flutter pub get 6. Get More Details About the Error If you’re still stuck, run the following command to see a detailed error report:
sh Copy Edit flutter run --debug --stacktrace or
sh Copy Edit flutter run --debug --info 7. Reset and Reinstall Dependencies If nothing works, try deleting old Gradle files and reinstalling everything:
sh Copy Edit rm -rf android/.gradle flutter clean flutter pub get If you still have issues, share the full error message from flutter run --debug --stacktrace, and I’ll help you troubleshoot further. 🚀