androidthings / sample-googleassistant

Google Assistant API sample for Android Things
Apache License 2.0
467 stars 147 forks source link

java.lang.IllegalStateException: Unknown Build.DEVICE generic_x86 #85

Closed CometInfosoft closed 5 years ago

Fleker commented 5 years ago

Are you trying to run this in an emulator?

CometInfosoft commented 5 years ago

yeah in emulator, and getting this exactly error.

Process: com.example.androidthings.assistant, PID: 31454 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.androidthings.assistant/com.example.androidthings.assistant.AssistantActivity}: java.lang.RuntimeException: Stub!

Fleker commented 5 years ago

This sample is designed to work on Android Things, which does not have an emulator. You'd need to make a number of changes for it to work in an emulator or on a mobile device.