Flutter doctor
Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.16.0, on macOS 14.5 23F79 darwin-arm64, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.4) [✓] Chrome - develop for the web [✓] Android Studio (version 2024.1) [✓] IntelliJ IDEA Ultimate Edition (version 2024.1.2) [✓] Connected device (3 available) ! Error: Browsing on the local area network for iPhone (3). Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac. The device must be opted into Developer Mode to connect wirelessly. (code -27) [✓] Network resources
Machine is mac arm based. Android API 35
on building app with command “flutter build apk” Getting failure, same code builds fine on mac with intel. I Have tried upgrading versions I am ran into same kind of errors.
`../../../.pub-cache/hosted/pub.dev/firebase_storage_platform_interface-5.1.0/lib/src/method_channel/method_channel_reference.dart:204:46: Error: The getter ‘storage’ isn’t defined for the class ‘MethodChannelReference’.
- ‘MethodChannelReference’ is from ‘package:firebase_storage_platform_interface/src/method_channel/method_channel_reference.dart’ (‘../../../.pub-cache/hosted/pub.dev/firebase_storage_platform_interface-5.1.0/lib/src/method_channel/method_channel_reference.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘storage’.
return MethodChannelDownloadTask(handle, storage, fullPath, file);
^^^^^^^
`
I am expecting a apk for android.