cancel
Showing results for 
Search instead for 
Did you mean: 

How to add missing package com.google.home?

cherishraffy
Community Member

Hello,

 

I recently downloaded the Google Home API Sample App and trying to configure my Android app but cannot find any clear or explicit content or article to import the MISSING packages below (com.google.home). Note all of which are missing.  

Any help pointing me to any post, API docs or tutorial is highly appreciated. 

Thanks.

 

import com.google.home.DeviceType
import com.google.home.DeviceTypeFactory
import com.google.home.FactoryRegistry
import com.google.home.Home
import com.google.home.HomeClient
import com.google.home.HomeConfig
import com.google.home.Trait
import com.google.home.TraitFactory
import com.google.home.matter.standard.BooleanState
import com.google.home.matter.standard.ColorTemperatureLightDevice
import com.google.home.matter.standard.ContactSensorDevice
import com.google.home.matter.standard.DimmableLightDevice
import com.google.home.matter.standard.ExtendedColorLightDevice
import com.google.home.matter.standard.GenericSwitchDevice
import com.google.home.matter.standard.LevelControl
import com.google.home.matter.standard.OccupancySensing
import com.google.home.matter.standard.OccupancySensorDevice
import com.google.home.matter.standard.OnOff
import com.google.home.matter.standard.OnOffLightDevice
import com.google.home.matter.standard.OnOffLightSwitchDevice
import com.google.home.matter.standard.OnOffPluginUnitDevice
import com.google.home.matter.standard.OnOffSensorDevice
import com.google.home.matter.standard.TemperatureControl
import com.google.home.matter.standard.TemperatureMeasurement
import com.google.home.matter.standard.Thermostat
import com.google.home.matter.standard.ThermostatDevice
1 Recommended Answer

Suc1
Solutions Expert
Solutions Expert

Thank you for reaching out about the missing Google Home API packages. It appears your IDE might not be correctly configured to use the Google Home SDK. Please follow the official setup guide at https://developers.home.google.com/apis/android/sdk#setup which covers dependency configuration and repository setup. This should resolve your import issues with the com.google.home packages.

View Recommended Answer in original post

1 REPLY 1

Suc1
Solutions Expert
Solutions Expert

Thank you for reaching out about the missing Google Home API packages. It appears your IDE might not be correctly configured to use the Google Home SDK. Please follow the official setup guide at https://developers.home.google.com/apis/android/sdk#setup which covers dependency configuration and repository setup. This should resolve your import issues with the com.google.home packages.