androidthings / sample-googleassistant

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

Android Studio error run project #53

Closed josuehennemann closed 6 years ago

josuehennemann commented 6 years ago

When I click Run in android studio the following error occurs: Error: (143, 66) error: can not find symbol variable raw File: sample-googleassistant-master /app/src/main/java/com/example/androidthings/assistant/AssistantActivity.java line 143. Android Studio Version: 3.0.1.

I tried to sync the project in: Tools> Android> Sync Project with Grade Files and then click "Run" again. But the error persists.

How to solve this? thanks

Fleker commented 6 years ago

You need to follow the steps in the README to get your credentials.json and put it into the res/raw/ directory.

josuehennemann commented 6 years ago

It worked. Thanks