Java 如何在Play框架中使用Google Firebase管理?
我已经在Play项目中添加了依赖项Java 如何在Play框架中使用Google Firebase管理?,java,playframework,firebase-authentication,sbteclipse,Java,Playframework,Firebase Authentication,Sbteclipse,我已经在Play项目中添加了依赖项“com.google.firebase”%”firebase admin“%”6.10.0“,但是当我尝试导入FirebaseOptions时,它显示没有可用的导入 我遗漏了什么?我猜您跳过了第二步,但以下是您需要完成的所有步骤: 添加到build.sbtlibraryDependencies+=“com.google.firebase”%“firebase admin”%“6.10.0” 将依赖项下载到本地项目:在项目文件夹中运行sbt update 将导入
“com.google.firebase”%”firebase admin“%”6.10.0“
,但是当我尝试导入FirebaseOptions时,它显示没有可用的导入
我遗漏了什么?我猜您跳过了第二步,但以下是您需要完成的所有步骤:
libraryDependencies+=“com.google.firebase”%“firebase admin”%“6.10.0”
sbt update
import com.google.firebase.FirebaseOptions