dialogflow-android-client icon indicating copy to clipboard operation
dialogflow-android-client copied to clipboard

Cannot resolve RecognitionEngine

Open Arshad0495 opened this issue 6 years ago • 13 comments

ive compiled both 'ai.api:sdk:2.0.7@aar' and 'ai.api:libai:1.6.12' but it still cannot be resolve. Can someone help me

Arshad0495 avatar Dec 22 '17 15:12 Arshad0495

I am getting the same issue regarding the RecognitionEngine. Please someone help us out quickly. error

harsh0205 avatar Jan 04 '18 05:01 harsh0205

use final ai.api.android.AIConfiguration config = new ai.api.android.AIConfiguration( "client access token", AIConfiguration.SupportedLanguages.English, AIConfiguration.RecognitionEngine.System);

MDOpus avatar Jan 18 '18 12:01 MDOpus

@MDOpus, unfortunately, I'm still getting an error on the RecognitionEngine with your solution.

CodyBontecou avatar Mar 06 '18 18:03 CodyBontecou

import AIConfiguration as ai.api not ai.api.android

pgaurav72 avatar May 25 '18 06:05 pgaurav72

Hi.I am still getting this error anyone have a solution?

Vibinreji avatar Jun 23 '18 06:06 Vibinreji

Same problem please help

gptshubham595 avatar Nov 01 '18 05:11 gptshubham595

Got the solution just add ai.api.android.AIConfiguration.RecognitionEngine.System

gptshubham595 avatar Nov 01 '18 05:11 gptshubham595

Anyone any Solution for this error

Or any idea how to do it in another way....

marioallaa avatar Mar 22 '19 17:03 marioallaa

import ai.api.android.AIConfiguration; and comment if imported import ai.api.AIConfiguration Worked for me!

sumedhsp avatar Apr 01 '19 14:04 sumedhsp

import ai.api.android.AIConfiguration;

add the above code and you are good to go!

poojagujral avatar Jun 13 '19 05:06 poojagujral

change import ai.api.AIConfiguration; to import ai.api.android.AIConfiguration; :)

anubhav11march avatar Oct 19 '19 09:10 anubhav11march

This worked for me: Change:-

ai.api.AIconfiguration To ai.api.android.AIconfiguration

MaiSaleh avatar Feb 20 '20 08:02 MaiSaleh

Thank you it worked for me. import ai.api.android.AIConfiguration;

Janani-9900 avatar Nov 15 '21 17:11 Janani-9900