Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[<FIREBASE_AUTH>] <The method 'retrieveDynamicLink' isn't defined for the type 'FirebaseDynamicLinks'.> #2715

Closed
MassiveSuccess opened this issue Jun 7, 2020 · 6 comments
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. closed-by-bot Stale Issue with no recent activity

Comments

@MassiveSuccess
Copy link

MassiveSuccess commented Jun 7, 2020

FLUTTER VERBE
flutter run --verbose

[  +11 ms] executing: [C:\developer\flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[  +71 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 2738a1148ba6c9a6114df62358109407c3ef2553
[   +1 ms] executing: [C:\developer\flutter/] git tag --contains HEAD
[ +212 ms] Exit code 0 from: git tag --contains HEAD
[   +2 ms] 1.18.0-11.1.pre
[  +15 ms] executing: [C:\developer\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +57 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +3 ms] origin/beta
[        ] executing: [C:\developer\flutter/] git ls-remote --get-url origin
[  +38 ms] Exit code 0 from: git ls-remote --get-url origin
[   +6 ms] https://github.com/flutter/flutter.git
[ +133 ms] executing: [C:\developer\flutter/] git rev-parse --abbrev-ref HEAD
[  +55 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] beta
[  +68 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping       
update.
[  +13 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +11 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.      
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.        
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.        
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.    
[  +10 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.   
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.   
[  +20 ms] executing: C:\Users\massi\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l[  +59 ms] List of devices attached
           f691dc51               device product:1818 model:vivo_1818 device:1818 transport_id:1[   +7 ms] C:\Users\massi\AppData\Local\Android\sdk\platform-tools\adb.exe -s f691dc51 shell
getprop
[ +137 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[  +11 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping
update.
[   +2 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +19 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +6 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.        
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.    
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.    
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.   
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.   
[ +130 ms] Found plugin firebase_auth at
C:\developer\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.16.1\
[  +11 ms] Found plugin firebase_auth_web at
C:\developer\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-0.1.3+1\
[   +9 ms] Found plugin firebase_core at
C:\developer\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.5\
[   +6 ms] Found plugin firebase_core_web at
C:\developer\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.1.1+2\
[   +9 ms] Found plugin firebase_dynamic_links at
C:\developer\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_dynamic_links-0.5.1\
[   +6 ms] Found plugin google_sign_in at
C:\developer\flutter\.pub-cache\hosted\pub.dartlang.org\google_sign_in-4.5.1\
[  +10 ms] Found plugin google_sign_in_web at
C:\developer\flutter\.pub-cache\hosted\pub.dartlang.org\google_sign_in_web-0.9.1+1\
[  +98 ms] Found plugin firebase_auth at
C:\developer\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.16.1\
[   +4 ms] Found plugin firebase_auth_web at
C:\developer\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-0.1.3+1\
[  +11 ms] Found plugin firebase_core at
C:\developer\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.5\
[   +3 ms] Found plugin firebase_core_web at
C:\developer\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.1.1+2\
[   +3 ms] Found plugin firebase_dynamic_links at
C:\developer\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_dynamic_links-0.5.1\
[  +11 ms] Found plugin google_sign_in at
C:\developer\flutter\.pub-cache\hosted\pub.dartlang.org\google_sign_in-4.5.1\
[   +3 ms] Found plugin google_sign_in_web at
C:\developer\flutter\.pub-cache\hosted\pub.dartlang.org\google_sign_in_web-0.9.1+1\
[  +79 ms] Generating
C:\developer\projects\herbalife\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +34 ms] ro.hardware = qcom
[  +57 ms] Launching lib\main.dart on vivo 1818 in debug mode...
[   +7 ms] C:\developer\flutter\bin\cache\dart-sdk\bin\dart.exe
C:\developer\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot       
--sdk-root C:\developer\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/
--incremental --target=flutter --debugger-module-names -Ddart.developer.causal_async_stacks=true--output-dill
C:\Users\massi\AppData\Local\Temp\flutter_tool.b6e09325-a8a9-11ea-ad57-8e5afa6ffe72\app.dill    
--packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation    
--filesystem-scheme org-dartlang-root --initialize-from-dill build\cache.dill
[  +55 ms] executing: C:\Users\massi\AppData\Local\Android\sdk\build-tools\29.0.2\aapt dump
xmltree C:\developer\projects\herbalife\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[  +79 ms] Exit code 0 from: C:\Users\massi\AppData\Local\Android\sdk\build-tools\29.0.2\aapt
dump xmltree C:\developer\projects\herbalife\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[   +1 ms] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.massivesuccess.massivefitness" (Raw:
               "com.massivesuccess.massivefitness")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw:
                 "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw:    
                 "android.permission.ACCESS_NETWORK_STATE")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw:
                 "android.permission.WAKE_LOCK")
               E: uses-permission (line=17)
                 A:
                 android:name(0x01010003)="com.google.android.finsky.permission.BIND_GET_INSTALL                 _REFERRER_SERVICE" (Raw:
                 "com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE")      
               E: uses-permission (line=18)
                 A: android:name(0x01010003)="com.google.android.c2dm.permission.RECEIVE" (Raw: 
                 "com.google.android.c2dm.permission.RECEIVE")
               E: application (line=26)
                 A: android:label(0x01010001)="herbalife" (Raw: "herbalife")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw:
                 "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A:
                 android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory                 " (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=32)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.massivesuccess.massivefitness.MainActivity" 
                   (Raw: "com.massivesuccess.massivefitness.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=46)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme"     
                     (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=56)
                     A:
                     android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable                     " (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040015
                   E: intent-filter (line=60)
                     E: action (line=61)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw:
                       "android.intent.action.MAIN")
                     E: category (line=63)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw:     
                       "android.intent.category.LAUNCHER")
                 E: meta-data (line=70)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")     
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: service (line=74)
                   A:
                   android:name(0x01010003)="com.google.firebase.components.ComponentDiscoverySe                   rvice" (Raw: "com.google.firebase.components.ComponentDiscoveryService")     
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff
                   E: meta-data (line=78)
                     A:
                     android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins                     .firebaseauth.FlutterFirebaseAppRegistrar" (Raw:
                     "com.google.firebase.components:io.flutter.plugins.firebaseauth.FlutterFire                     baseAppRegistrar")
                     A:
                     android:value(0x01010024)="com.google.firebase.components.ComponentRegistra                     r" (Raw: "com.google.firebase.components.ComponentRegistrar")
                   E: meta-data (line=81)
                     A:
                     android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins                     .firebase.core.FlutterFirebaseAppRegistrar" (Raw:
                     "com.google.firebase.components:io.flutter.plugins.firebase.core.FlutterFir                     ebaseAppRegistrar")
                     A:
                     android:value(0x01010024)="com.google.firebase.components.ComponentRegistra                     r" (Raw: "com.google.firebase.components.ComponentRegistrar")
                   E: meta-data (line=84)
                     A:
                     android:name(0x01010003)="com.google.firebase.components:com.google.firebas                     e.auth.FirebaseAuthRegistrar" (Raw:
                     "com.google.firebase.components:com.google.firebase.auth.FirebaseAuthRegist                     rar")
                     A:
                     android:value(0x01010024)="com.google.firebase.components.ComponentRegistra                     r" (Raw: "com.google.firebase.components.ComponentRegistrar")
                   E: meta-data (line=87)
                     A:
                     android:name(0x01010003)="com.google.firebase.components:com.google.firebas                     e.analytics.connector.internal.AnalyticsConnectorRegistrar" (Raw:
                     "com.google.firebase.components:com.google.firebase.analytics.connector.int                     ernal.AnalyticsConnectorRegistrar")
                     A:
                     android:value(0x01010024)="com.google.firebase.components.ComponentRegistra                     r" (Raw: "com.google.firebase.components.ComponentRegistrar")
                   E: meta-data (line=90)
                     A:
                     android:name(0x01010003)="com.google.firebase.components:com.google.firebas                     e.iid.Registrar" (Raw:
                     "com.google.firebase.components:com.google.firebase.iid.Registrar")        
                     A:
                     android:value(0x01010024)="com.google.firebase.components.ComponentRegistra                     r" (Raw: "com.google.firebase.components.ComponentRegistrar")
                 E: activity (line=95)
                   A: android:theme(0x01010000)=@0x01030010
                   A:
                   android:name(0x01010003)="com.google.firebase.auth.internal.FederatedSignInAc                   tivity" (Raw: "com.google.firebase.auth.internal.FederatedSignInActivity")   
                   A:
                   android:permission(0x01010006)="com.google.firebase.auth.api.gms.permission.L                   AUNCH_FEDERATED_SIGN_IN" (Raw:
                   "com.google.firebase.auth.api.gms.permission.LAUNCH_FEDERATED_SIGN_IN")      
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:excludeFromRecents(0x01010017)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x2
                 E: receiver (line=103)
                   A:
                   android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementRe                   ceiver" (Raw: "com.google.android.gms.measurement.AppMeasurementReceiver")   
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0x0
                 E: receiver (line=108)
                   A:
                   android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementIn                   stallReferrerReceiver" (Raw:
                   "com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver")  
                   A: android:permission(0x01010006)="android.permission.INSTALL_PACKAGES" (Raw:                   "android.permission.INSTALL_PACKAGES")
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   E: intent-filter (line=113)
                     E: action (line=114)
                       A: android:name(0x01010003)="com.android.vending.INSTALL_REFERRER" (Raw: 
                       "com.android.vending.INSTALL_REFERRER")
                 E: service (line=118)
                   A:
                   android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementSe                   rvice" (Raw: "com.google.android.gms.measurement.AppMeasurementService")     
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0x0
                 E: service (line=122)
                   A:
                   android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementJo                   bService" (Raw:
                   "com.google.android.gms.measurement.AppMeasurementJobService")
                   A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw:                   "android.permission.BIND_JOB_SERVICE")
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0x0
                 E: receiver (line=128)
                   A:
                   android:name(0x01010003)="com.google.firebase.iid.FirebaseInstanceIdReceiver"                   (Raw: "com.google.firebase.iid.FirebaseInstanceIdReceiver")
                   A: android:permission(0x01010006)="com.google.android.c2dm.permission.SEND"  
                   (Raw: "com.google.android.c2dm.permission.SEND")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   E: intent-filter (line=132)
                     E: action (line=133)
                       A: android:name(0x01010003)="com.google.android.c2dm.intent.RECEIVE"     
                       (Raw: "com.google.android.c2dm.intent.RECEIVE")
                 E: provider (line=137)
                   A:
                   android:name(0x01010003)="com.google.firebase.provider.FirebaseInitProvider" 
                   (Raw: "com.google.firebase.provider.FirebaseInitProvider")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A:
                   android:authorities(0x01010018)="com.massivesuccess.massivefitness.firebasein                   itprovider" (Raw: "com.massivesuccess.massivefitness.firebaseinitprovider")  
                   A: android:initOrder(0x0101001a)=(type 0x10)0x64
                 E: activity (line=143)
                   A: android:theme(0x01010000)=@0x01030010
                   A:
                   android:name(0x01010003)="com.google.android.gms.auth.api.signin.internal.Sig                   nInHubActivity" (Raw:
                   "com.google.android.gms.auth.api.signin.internal.SignInHubActivity")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:excludeFromRecents(0x01010017)=(type 0x12)0xffffffff
                 E: service (line=152)
                   A:
                   android:name(0x01010003)="com.google.android.gms.auth.api.signin.RevocationBo                   undService" (Raw:
                   "com.google.android.gms.auth.api.signin.RevocationBoundService")
                   A:
                   android:permission(0x01010006)="com.google.android.gms.auth.api.signin.permis                   sion.REVOCATION_NOTIFICATION" (Raw:
                   "com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION") 
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                 E: activity (line=157)
                   A: android:theme(0x01010000)=@0x01030010
                   A:
                   android:name(0x01010003)="com.google.android.gms.common.api.GoogleApiActivity                   " (Raw: "com.google.android.gms.common.api.GoogleApiActivity")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                 E: meta-data (line=162)
                   A: android:name(0x01010003)="com.google.android.gms.version" (Raw:
                   "com.google.android.gms.version")
                   A: android:value(0x01010024)=@0x7f060000
[ +223 ms] executing: C:\Users\massi\AppData\Local\Android\sdk\platform-tools\adb.exe -s
f691dc51 shell -x logcat -v time -t 1
[ +158 ms] Exit code 0 from: C:\Users\massi\AppData\Local\Android\sdk\platform-tools\adb.exe -s
f691dc51 shell -x logcat -v time -t 1
[   +2 ms] --------- beginning of main
[  +35 ms] <- compile package:herbalife/main.dart
[  +24 ms] executing: C:\Users\massi\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ +155 ms] Android Debug Bridge version 1.0.41
                    Version 29.0.5-5949299
                    Installed as C:\Users\massi\AppData\Local\Android\sdk\platform-tools\adb.exe[   +6 ms] executing: C:\Users\massi\AppData\Local\Android\sdk\platform-tools\adb.exe
start-server
[  +34 ms] Building APK
[  +30 ms] Running Gradle task 'assembleDebug'...
[   +4 ms] gradle.properties already sets `android.enableR8`
[   +7 ms] Using gradle from C:\developer\projects\herbalife\android\gradlew.bat.
[   +6 ms] C:\developer\projects\herbalife\android\gradlew.bat mode: 33279 rwxrwxrwx.
[  +39 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +141 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[   +1 ms] openjdk version "1.8.0_202-release"
           OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
           OpenJDK 64-Bit Server VM (build 25.202-b03, mixed mode)
[   +6 ms] executing: [C:\developer\projects\herbalife\android/]
C:\developer\projects\herbalife\android\gradlew.bat -Pverbose=true
-Ptarget-platform=android-arm64 -Ptarget=C:\developer\projects\herbalife\lib\main.dart
-Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+3779 ms] 
                    Compiler message:
[   +3 ms] lib/phoneauth/signin_page.dart:223:45: Error: The method 'retrieveDynamicLink' isn't
defined for
           the class 'FirebaseDynamicLinks'.
[  +38 ms]  - 'FirebaseDynamicLinks' is from
'package:firebase_dynamic_links/firebase_dynamic_links.dart'

('../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_dynamic_links-0.5.1/lib/firebase_dy 
            namic_links.dart').
[  +45 ms] Try correcting the name to the name of an existing method, or defining a method named           'retrieveDynamicLink'.
[  +68 ms]         await FirebaseDynamicLinks.instance.retrieveDynamicLink();
[   +6 ms]                                             ^^^^^^^^^^^^^^^^^^^
[+2416 ms] > Task :app:compileFlutterBuildDebug
[   +3 ms] [   +9 ms] executing: [C:\developer\flutter/] git -c log.showSignature=false log -n 1--pretty=format:%H
[  +39 ms] [  +69 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[   +2 ms] [        ] 2738a1148ba6c9a6114df62358109407c3ef2553
[   +2 ms] [        ] executing: [C:\developer\flutter/] git tag --contains HEAD
[  +60 ms] [ +218 ms] Exit code 0 from: git tag --contains HEAD
[   +4 ms] [   +1 ms] 1.18.0-11.1.pre
[  +25 ms] [  +13 ms] executing: [C:\developer\flutter/] git rev-parse --abbrev-ref --symbolic
@{u}
[   +1 ms] [  +38 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/beta
[        ] [        ] executing: [C:\developer\flutter/] git ls-remote --get-url origin
[        ] [  +33 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +95 ms] executing: [C:\developer\flutter/] git rev-parse --abbrev-ref HEAD        
[   +1 ms] [  +49 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] beta
[   +1 ms] [  +51 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping
update.
[   +1 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,       
skipping update.
[  +12 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[   +1 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping       
update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.    
[        ] [   +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping   
update.
[  +24 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[   +1 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping     
update.
[   +2 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping 
update.
[   +1 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping 
update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skippingupdate.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skippingupdate.
[   +1 ms] [  +28 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.    
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.    
[   +2 ms] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping    
update.
[  +10 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,     
skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping       
update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.    
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.       
[   +1 ms] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping   
update.
[  +13 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[   +1 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping     
update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping 
update.
[   +1 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping 
update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skippingupdate.
[  +12 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skippingupdate.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.  
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.  
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.  
[  +15 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +9 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping      
update.
[        ] [ +105 ms] Initializing file store
[        ] [  +24 ms] Done initializing file store
[ +319 ms] [+1148 ms] kernel_snapshot: Starting due to {InvalidatedReason.inputChanged}
[   +2 ms] [  +43 ms] C:\developer\flutter\bin\cache\dart-sdk\bin\dart.exe
C:\developer\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot       
--sdk-root C:\developer\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/
--target=flutter -Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false
-Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation    
--no-link-platform --packages C:\developer\projects\herbalife\.packages --output-dill
C:\developer\projects\herbalife\.dart_tool\flutter_build\471361a12be8a895546d2e08408f105c\app.dill --depfile
C:\developer\projects\herbalife\.dart_tool\flutter_build\471361a12be8a895546d2e08408f105c\kernel_snapshot.d package:herbalife/main.dart
[+2698 ms] [+2730 ms] 
[   +1 ms]            Compiler message:
[        ] [   +1 ms] lib/phoneauth/signin_page.dart:223:45: Error: The method
'retrieveDynamicLink' isn't defined for the class 'FirebaseDynamicLinks'.
[  +16 ms] [        ]  - 'FirebaseDynamicLinks' is from
'package:firebase_dynamic_links/firebase_dynamic_links.dart'
('../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_dynamic_links-0.5.1/lib/firebase_dynamic_links.dart').
[  +17 ms] [        ] Try correcting the name to the name of an existing method, or defining a
method named 'retrieveDynamicLink'.
[  +11 ms] [        ]         await FirebaseDynamicLinks.instance.retrieveDynamicLink();
[   +1 ms] [        ]                                             ^^^^^^^^^^^^^^^^^^^
[+5451 ms] [+5504 ms] Persisting file store
[ +101 ms] [  +16 ms] Done persisting file store
[   +7 ms] [   +3 ms] Target kernel_snapshot failed: Exception: Errors during snapshot creation:null
[   +1 ms] build failed.
[        ] #0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
[   +1 ms] #1      AssembleCommand.runCommand
(package:flutter_tools/src/commands/assemble.dart:230:7)
[        ] #2      _rootRunUnary (dart:async/zone.dart:1192:38)
[        ] #3      _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[        ] #4      _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[        ] #5      Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:686:45)
[        ] #6      Future._propagateToListeners (dart:async/future_impl.dart:715:32)
[        ] #7      Future._completeWithValue (dart:async/future_impl.dart:526:5)
[        ] #8      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)      
[        ] #9      _completeOnAsyncReturn (dart:async-patch/async_patch.dart:303:13)
[        ] #10     BuildSystem.build (package:flutter_tools/src/build_system/build_system.dart) 
[        ] #11     _rootRunUnary (dart:async/zone.dart:1192:38)
[        ] #12     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[   +1 ms] [  +17 ms] "flutter assemble" took 9,646ms.
[  +15 ms] #13     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[  +17 ms] #14     Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:686:45)
[   +2 ms] #15     Future._propagateToListeners (dart:async/future_impl.dart:715:32)
[        ] #16     Future._completeWithValue (dart:async/future_impl.dart:526:5)
[   +1 ms] #17     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)      
[   +1 ms] #18     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:303:13)
[        ] #19     _BuildInstance.invokeTarget
(package:flutter_tools/src/build_system/build_system.dart)
[   +1 ms] #20     _rootRunUnary (dart:async/zone.dart:1192:38)
[   +1 ms] #21     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[  +32 ms] #22     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[        ] #23     Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:686:45)
[   +1 ms] #24     Future._propagateToListeners (dart:async/future_impl.dart:715:32)
[   +1 ms] #25     Future._completeWithValue (dart:async/future_impl.dart:526:5)
[        ] #26     Future.wait.<anonymous closure> (dart:async/future.dart:402:22)
[   +1 ms] #27     _rootRunUnary (dart:async/zone.dart:1192:38)
[   +1 ms] #28     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[        ] #29     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[  +12 ms] #30     Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:686:45)
[   +1 ms] #31     Future._propagateToListeners (dart:async/future_impl.dart:715:32)
[        ] #32     Future._completeWithValue (dart:async/future_impl.dart:526:5)
[        ] #33     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)      
[        ] #34     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:303:13)
[        ] #35     _BuildInstance._invokeInternal
(package:flutter_tools/src/build_system/build_system.dart)
[        ] #36     _asyncErrorWrapperHelper.errorCallback
(dart:async-patch/async_patch.dart:87:64)
[        ] #37     _rootRunBinary (dart:async/zone.dart:1204:38)
[  +12 ms] #38     _CustomZone.runBinary (dart:async/zone.dart:1093:19)
[        ] #39     _FutureListener.handleError (dart:async/future_impl.dart:155:20)
[        ] #40     Future._propagateToListeners.handleError (dart:async/future_impl.dart:698:47)[        ] #41     Future._propagateToListeners (dart:async/future_impl.dart:719:24)
[        ] #42     Future._completeError (dart:async/future_impl.dart:534:5)
[        ] #43     _AsyncAwaitCompleter.completeError (dart:async-patch/async_patch.dart:43:15) 
[  +12 ms] #44     KernelSnapshot.build
(package:flutter_tools/src/build_system/targets/dart.dart)
[   +1 ms] #45     _rootRunUnary (dart:async/zone.dart:1192:38)
[        ] #46     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[        ] #47     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[        ] #48     Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:686:45)
[   +1 ms] #49     Future._propagateToListeners (dart:async/future_impl.dart:715:32)
[  +12 ms] #50     Future._completeWithValue (dart:async/future_impl.dart:526:5)
[        ] #51     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)      
[        ] #52     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:303:13)
[        ] #53     KernelCompiler.compile (package:flutter_tools/src/compile.dart)
[        ] #54     _rootRunUnary (dart:async/zone.dart:1192:38)
[        ] #55     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[  +11 ms] #56     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[   +1 ms] #57     Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:686:45)
[        ] #58     Future._propagateToListeners (dart:async/future_impl.dart:715:32)
[        ] #59     Future._completeWithValue (dart:async/future_impl.dart:526:5)
[        ] #60     Future._asyncCompleteWithValue.<anonymous closure>
(dart:async/future_impl.dart:560:7)
[        ] #61     _rootRun (dart:async/zone.dart:1184:13)
[        ] #62     _CustomZone.run (dart:async/zone.dart:1077:19)
[        ] #63     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
[   +8 ms] #64     _CustomZone.bindCallbackGuarded.<anonymous closure>
(dart:async/zone.dart:1019:23)
[        ] #65     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
[        ] #66     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
[        ] #67     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)  
[   +1 ms] #68     _RawReceivePortImpl._handleMessage
(dart:isolate-patch/isolate_patch.dart:169:5)
[        ] FAILURE: Build failed with an exception.
[        ] * Where:
[        ] Script 'C:\developer\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 896 
[        ] * What went wrong:
[        ] Execution failed for task ':app:compileFlutterBuildDebug'.
[   +1 ms] > Process 'command 'C:\developer\flutter\bin\flutter.bat'' finished with non-zero
exit value 1
[  +11 ms] * 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 15s
[        ] > Task :app:compileFlutterBuildDebug FAILED
[        ] 1 actionable task: 1 executed
[ +384 ms] Running Gradle task 'assembleDebug'... (completed in 16.1s)
[   +5 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +7 ms] "flutter run" took 17,723ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:570:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand
(package:flutter_tools/src/runner/flutter_command.dart:797:18)
#3      _rootRunUnary (dart:async/zone.dart:1192:38)
#4      _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#5      _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:686:45)   
#7      Future._propagateToListeners (dart:async/future_impl.dart:715:32)
#8      Future._completeWithValue (dart:async/future_impl.dart:526:5)
#9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
#10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:303:13)
#11     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#12     _rootRunUnary (dart:async/zone.dart:1192:38)
#13     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#14     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#15     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:686:45)   
#16     Future._propagateToListeners (dart:async/future_impl.dart:715:32)
#17     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#18     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
#19     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:303:13)
#20     AndroidDevice.isLocalEmulator (package:flutter_tools/src/android/android_device.dart)   
#21     _rootRunUnary (dart:async/zone.dart:1192:38)
#22     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#23     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#24     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:686:45)   
#25     Future._propagateToListeners (dart:async/future_impl.dart:715:32)
#26     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#27     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:560:7)  
#28     _rootRun (dart:async/zone.dart:1184:13)
#29     _CustomZone.run (dart:async/zone.dart:1077:19)
#30     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
#31     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)      
#32     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#33     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#34     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#35     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)        



**Describe the bug**
The method 'retrieveDynamicLink' isn't defined for the type 'FirebaseDynamicLinks'.
Try correcting the name to the name of an existing method, or defining a method named 'retrieveDynamicLink'


**Flutter doctor**
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, 1.18.0-11.1.pre, on Microsoft Windows [Version 10.0.18363.836],
    locale en-IN)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Chrome - develop for the web
[√] Android Studio (version 3.5)
[√] VS Code (version 1.45.1)
[√] Connected device (3 available)

• No issues found!
PS C:\developer\projects\herbalife> 

{
"resource": "/C:/developer/projects/herbalife/lib/phoneauth/signin_page.dart",
"owner": "dart",
"code": {
"value": "undefined_method",
"target": {
"$mid": 1,
"external": "https://dart.dev/tools/diagnostic-messages#undefined_method",
"path": "/tools/diagnostic-messages",
"scheme": "https",
"authority": "dart.dev",
"fragment": "undefined_method"
}
},
"severity": 8,
"message": "The method 'retrieveDynamicLink' isn't defined for the type 'FirebaseDynamicLinks'.\nTry correcting the name to the name of an existing method, or defining a method named 'retrieveDynamicLink'.",
"source": "dart",
"startLineNumber": 223,
"startColumn": 45,
"endLineNumber": 223,
"endColumn": 64,
"tags": []
}

@MassiveSuccess MassiveSuccess changed the title [<FIREBASE_PRODUCT>] <The method 'retrieveDynamicLink' isn't defined for the type 'FirebaseDynamicLinks'.> [<FIREBASE_AUTH>] <The method 'retrieveDynamicLink' isn't defined for the type 'FirebaseDynamicLinks'.> Jun 7, 2020
@TahaTesser
Copy link

Hi @MassiveSuccess
Can you please provide your flutter doctor -v, and a minimal complete reproducible code sample.
Thank you

@TahaTesser TahaTesser added the blocked: customer-response Waiting for customer response, e.g. more information was requested. label Jun 8, 2020
@MassiveSuccess
Copy link
Author

Hi @MassiveSuccess
Can you please provide your flutter doctor -v, and a minimal complete reproducible code sample.
Thank you

Flutter doctor
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, 1.18.0-11.1.pre, on Microsoft Windows [Version 10.0.18363.836],
locale en-IN)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Chrome - develop for the web
[√] Android Studio (version 3.5)
[√] VS Code (version 1.45.1)
[√] Connected device (3 available)

• No issues found!
PS C:\developer\projects\herbalife>

And code is the the file provided in firebase auth example signin file no code changes made thanks for responting

@google-oss-bot
Copy link

Hey @MassiveSuccess. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

@google-oss-bot google-oss-bot added the Stale Issue with no recent activity label Jul 30, 2020
@google-oss-bot
Copy link

Since there haven't been any recent updates here, I am going to close this issue.

@MassiveSuccess if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

@herocodess
Copy link

Hi, i'm still experiencing this issue when working with FirebaseDynamicLinks
Below is a screenshot of my code snippet
Screenshot from 2020-09-05 16-33-07

@TahaTesser
Copy link

Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

@firebase firebase locked and limited conversation to collaborators Sep 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. closed-by-bot Stale Issue with no recent activity
Projects
None yet
Development

No branches or pull requests

4 participants