小编Gil*_*han的帖子

反应原生firebase - android无法构建

由于某种原因,我无法构建我的项目。昨天一切正常,看看https://firebase.google.com/support/release-notes/android#update_-_april_02_2019有一个来自 5/11/21 的重要更新。

我尝试按照建议更改 minSdkVersion 但仍然没有解决方案。

这是错误:

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
C:\Users\Gilad\SaveLatestJoyRide-FE\joyride-fe\node_modules\react-native-push-notification\android\src\main\java\com\dieam\reactnativepushnotification\modules\RNPushNotification.java:39: error: cannot find symbol
import com.google.firebase.iid.FirebaseInstanceId;
                              ^
  symbol:   class FirebaseInstanceId
  location: package com.google.firebase.iid
C:\Users\Gilad\SaveLatestJoyRide-FE\joyride-fe\node_modules\react-native-push-notification\android\src\main\java\com\dieam\reactnativepushnotification\modules\RNPushNotification.java:40: error: cannot find symbol
import com.google.firebase.iid.InstanceIdResult;
                              ^
  symbol:   class InstanceIdResult
  location: package com.google.firebase.iid
C:\Users\Gilad\SaveLatestJoyRide-FE\joyride-fe\node_modules\react-native-push-notification\android\src\main\java\com\dieam\reactnativepushnotification\modules\RNPushNotification.java:143: error: cannot find symbol
              .addOnCompleteListener(new OnCompleteListener<InstanceIdResult>() {
                                                            ^
  symbol:   class InstanceIdResult
  location: class RNPushNotification
C:\Users\Gilad\SaveLatestJoyRide-FE\joyride-fe\node_modules\react-native-push-notification\android\src\main\java\com\dieam\reactnativepushnotification\modules\RNPushNotification.java:145: error: cannot find symbol …
Run Code Online (Sandbox Code Playgroud)

android push-notification firebase react-native

9
推荐指数
2
解决办法
4618
查看次数

ECS 任务定义 - 每个任务的容器还是任务内的多个容器?

我在网上搜索了一些有关任务定义和容器部署的实用信息,但找不到任何现实生活中的示例。

是否存在需要将容器分散到多个任务而不是在 1 个任务中运行多个容器的情况?

例如,如果我有一个后端服务和一个前端服务,我应该将它们放在同一个任务中,以便它们共享相同的网络并位于同一主机上,还是应该为它们创建 2 个单独的任务?

amazon-web-services amazon-ecs

6
推荐指数
1
解决办法
3200
查看次数