我正在尝试为我的应用程序实现一个带有dialogflow的聊天机器人,但是当我导入库时,它会给我以下错误:
这些是依赖项:
//Dialogflow SDK dependences
implementation 'ai.api:sdk:2.0.7@aar'
implementation 'ai.api:libai:1.6.12'
//Java V2
implementation 'com.google.cloud:google-cloud-dialogflow:0.67.0-alpha'
implementation 'io.grpc:grpc-okhttp:1.1.'
这是返回的消息:
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve ai.api:libai:1.6.12.
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.cloud:google-cloud-dialogflow:0.67.0-alpha.
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve io.grpc:grpc-okhttp:1.1..
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve ai.api:sdk:2.0.7.
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve ai.api:libai:1.6.12.
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.cloud:google-cloud-dialogflow:0.67.0-alpha.
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve io.grpc:grpc-okhttp:1.1..
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve ai.api:sdk:2.0.7.
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve ai.api:libai:1.6.12.