dialogflow-android-client
dialogflow-android-client copied to clipboard
Cannot resolve RecognitionEngine
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
I am getting the same issue regarding the RecognitionEngine. Please someone help us out quickly.
use final ai.api.android.AIConfiguration config = new ai.api.android.AIConfiguration( "client access token", AIConfiguration.SupportedLanguages.English, AIConfiguration.RecognitionEngine.System);
@MDOpus, unfortunately, I'm still getting an error on the RecognitionEngine with your solution.
import AIConfiguration as ai.api not ai.api.android
Hi.I am still getting this error anyone have a solution?
Same problem please help
Got the solution just add ai.api.android.AIConfiguration.RecognitionEngine.System
Anyone any Solution for this error
Or any idea how to do it in another way....
import ai.api.android.AIConfiguration; and comment if imported import ai.api.AIConfiguration Worked for me!
import ai.api.android.AIConfiguration;
add the above code and you are good to go!
change
import ai.api.AIConfiguration;
to
import ai.api.android.AIConfiguration;
:)
This worked for me: Change:-
ai.api.AIconfiguration To ai.api.android.AIconfiguration
Thank you it worked for me. import ai.api.android.AIConfiguration;