google-home / smart-home-java

Apache License 2.0
92 stars 47 forks source link

Inconvertible types; cannot cast 'com.google.actions.api.smarthome.SmartHomeRequest.RequestInputs' to 'com.google.actions.api.smarthome.QueryRequest.Inputs' #35

Open EgHubs opened 2 years ago

EgHubs commented 2 years ago

In the code at line 180 of MySmartHomeApp.java file I get the following error

Inconvertible types; cannot cast 'com.google.actions.api.smarthome.SmartHomeRequest.RequestInputs' to 'com.google.actions.api.smarthome.ExecuteRequest.Inputs'


also the same in line 126 I get the following error

Inconvertible types; cannot cast 'com.google.actions.api.smarthome.SmartHomeRequest.RequestInputs' to 'com.google.actions.api.smarthome.QueryRequest.Inputs'

Any help?

ZYL2019999 commented 1 year ago

我也遇到了这个问题,IDEA 有这个提示,但是不影响项目编译和启动。只是在 IDEA 上有这个提示