简体   繁体   中英

@react-native-firebase\dynamic-links cannot find symbol

I am getting the following error after using npm install @react-native-firebase/dynamic-links . I am not able to solve this issue, any solutions?

D:\myapp\node_modules\@react-native-firebase\dynamic-links\android\src\main\java\io\invertase\firebase\dynamiclinks\ReactNativeFirebaseDynamicLinksModule.java:227: error: cannot find symbol
                    Bundle linkUtmParameters = linkData.getUtmParameters();
                                                       ^
  symbol:   method getUtmParameters()
  location: variable linkData of type PendingDynamicLinkData
D:\myapp\node_modules\@react-native-firebase\dynamic-links\android\src\main\java\io\invertase\firebase\dynamiclinks\ReactNativeFirebaseDynamicLinksModule.java:458: error: cannot find symbol
                                      pendingDynamicLinkData.getUtmParameters()))));
                                                            ^
  symbol:   method getUtmParameters()
  location: variable pendingDynamicLinkData of type PendingDynamicLinkData
3 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-firebase_dynamic-links:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

It could be that the version of @react-native-firebase/app and @react-native-firebase/dynamic-links are not the same. So make sure your project contains the same version of @react-native-firebase/app and @react-native-firebase/dynamic-links .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM