Unable to load asset: "packages/sign_button/images/google.png".
I've been using sign_button: ^2.0.1 for over 2 years without issue.
However I've had to do a major upgrade of my Flutter application and environment to support Android API 35. Latest Flutter and Dart versions, lots of upgraded Gradle settings, lots of package upgrades.
After completing this (which was much harder than it should have been) I got the error:
sign_button Unable to load asset: "packages/sign_button/images/google.png".
Unable to fix this (and other sign in button packages had the same issue), I ended up cloning this repository and incorporating the code and assets directly into my application, where it works as before. Has anyone else found this error?
`/Users/chris/IdeaProjects/MICDUP/micdup_app/.fvm/flutter_sdk/bin/flutter doctor --verbose [✓] Flutter (Channel stable, 3.35.3, on macOS 15.6.1 24G90 darwin-arm64, locale en-NZ) [629ms] • Flutter version 3.35.3 on channel stable at /Users/chris/fvm/versions/3.27.4 • Upstream repository https://github.com/flutter/flutter.git • Framework revision a402d9a437 (6 days ago), 2025-09-03 14:54:31 -0700 • Engine revision ddf47dd3ff • Dart version 3.9.2 • DevTools version 2.48.0 • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-lldb-debugging
[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [708ms]
• Android SDK at /Users/chris/Library/Android/sdk
• Emulator version 35.5.10.0 (build_id 13402964) (CL:N/A)
✗ cmdline-tools component is missing.
Try installing or updating Android Studio.
Alternatively, download the tools from https://developer.android.com/studio#command-line-tools-only and make sure to set the ANDROID_HOME environment variable.
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/to/macos-android-setup for more details.
[!] Xcode - develop for iOS and macOS (Xcode 16.3) [1,508ms] • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16E140 ! CocoaPods 1.14.2 out of date (1.16.2 is recommended). CocoaPods is a package manager for iOS or macOS platform code. Without CocoaPods, plugins will not work on iOS or macOS. For more info, see https://flutter.dev/to/platform-plugins To update CocoaPods, see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods
[✓] Chrome - develop for the web [154ms] • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (not installed) [153ms] • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/to/macos-android-setup for detailed instructions).
[✓] IntelliJ IDEA Ultimate Edition (version 2025.1.5.1) [62ms] • IntelliJ at /Applications/IntelliJ IDEA.app • Flutter plugin version 87.1 • Dart plugin version 251.27812.12 `