androidthings / sample-googleassistant

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

Minimum SDK to run project #56

Closed gnaazr95 closed 6 years ago

gnaazr95 commented 6 years ago

What is the minimum SDK required to run this project? Would I be able to run it on a 22 or 23 SDK? Or does the project require at least a 26 minimum SDK due to library requirements.

Fleker commented 6 years ago

The minimum SDK version is specifically for Android Things. Much of the interaction code is dependent on the code in the developer preview for audio and peripherals. If you replace the activity code with your own (ie. removing the Android Things code), then you should be able to run it on older SDK versions.

Fleker commented 6 years ago

gRPC on Android seems to be supported down to API 14 according to one of their examples

// API level 14+ is required for TLS since Google Play Services v10.2