Open lukehutch opened 1 year ago
@lukehutch could you please post the output of flutter doctor -v
?
$ flutter doctor -v [✓] Flutter (Channel stable, 3.7.7, on Fedora Linux 36 (Workstation Edition) 6.1.14-100.fc36.x86_64, locale en_US.utf8) • Flutter version 3.7.7 on channel stable at /opt/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2ad6cd72c0 (2 weeks ago), 2023-03-08 09:41:59 -0800 • Engine revision 1837b5be5f • Dart version 2.19.4 • DevTools version 2.20.1
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1) • Android SDK at /home/luke/Android/Sdk • Platform android-33, build-tools 33.0.1 • Java binary at: /opt/android-studio/jre/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted.
[✓] Chrome - develop for the web • Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop • clang version 14.0.5 (Fedora 14.0.5-2.fc36) • cmake version 3.25.2 • ninja version 1.10.2 • pkg-config version 1.8.0
[✓] Android Studio (version 2021.3) • Android Studio at /opt/android-studio • Flutter plugin version 71.0.3 • Dart plugin version 213.7433 • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[✓] VS Code (version 1.76.2) • VS Code at /usr/share/code • Flutter extension version 3.60.0
[✓] Connected device (3 available) • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 13 (API 33) (emulator) • Linux (desktop) • linux • linux-x64 • Fedora Linux 36 (Workstation Edition) 6.1.14-100.fc36.x86_64 • Chrome (web) • chrome • web-javascript • Google Chrome 111.0.5563.64
[✓] HTTP Host Availability • All required HTTP hosts are available
• No issues found!
@lukehutch I was not able to reproduce this on my macOS machine using Flutter 3.7.10
What is the exact command and the full output of the command where you see this?
Maybe this is no longer a problem then? I may have been building with a slightly older version of Flutter. I'm traveling for the next few weeks, so I can't easily reproduce this, but I was simply building my app with "flutter run" or similar.
Correction, I'm still seeing this.
All I do is the following, inside a Flutter project that depends upon sign_in_with_apple
:
# cd android
# ./gradlew clean build
> Task :sign_in_with_apple:compileProfileKotlin
w: /home/luke/.pub-cache/hosted/pub.dev/sign_in_with_apple-4.3.0/android/src/main/kotlin/com/aboutyou/dart_packages/sign_in_with_apple/SignInWithApplePlugin.kt: (17, 48): 'Registrar' is deprecated. Deprecated in Java
w: /home/luke/.pub-cache/hosted/pub.dev/sign_in_with_apple-4.3.0/android/src/main/kotlin/com/aboutyou/dart_packages/sign_in_with_apple/SignInWithApplePlugin.kt: (54, 33): 'Registrar' is deprecated. Deprecated in Java
I get the following warnings when compiling sign_in_with_apple 4.3.0: