Closed manas-mukherjee closed 8 years ago
Please ignore this comment. I change a stable version of common-io lib instead of compile 'commons-io:commons-io:20030203.000550'. It fixed the issue. Android SDK is great. Thanks
@manas-mukherjee ,which stable version of common-io lib was it that worked for you ? I am still getting a crash on listening (only when I say a long sentence)
I followed the instruction and tried to run it in my Nexus-6P. After receiving the speech input, the application crashes without showing any error msg. Please help.
here is my MainActivity code.
package poc.apiai.com.firstaiapiapp;
import android.support.v7.app.AppCompatActivity; import android.os.Bundle;
import ai.api.AIConfiguration; import ai.api.AIListener; import ai.api.AIService; import ai.api.model.AIError; import ai.api.model.AIResponse; import ai.api.model.Result; import com.google.gson.JsonElement; import java.util.Map;
import android.view.View; import android.widget.Button; import android.widget.TextView;
public class MainActivity extends AppCompatActivity implements AIListener {
}
Looking fwd to your reply.
Thanks