Google api Google日历API-未找到构造函数
我开始使用谷歌日历API。 但是当我尝试在链接中设置时,我遇到了一个大问题 我尝试实现构造函数Google api Google日历API-未找到构造函数,google-api,google-calendar-api,google-api-java-client,Google Api,Google Calendar Api,Google Api Java Client,我开始使用谷歌日历API。 但是当我尝试在链接中设置时,我遇到了一个大问题 我尝试实现构造函数 Calendar service = new Calendar(httpTransport, accessProtectedResource, jsonFactory); 但是这个函数不在库中,这个构造函数不存在 有人能帮我找到解决这个问题的新方法吗 谢谢确保您引用的是com.google.api.services.Calendar.Calendar中定义的日历服务类,而不是com.google.a
Calendar service = new Calendar(httpTransport, accessProtectedResource, jsonFactory);
但是这个函数不在库中,这个构造函数不存在
有人能帮我找到解决这个问题的新方法吗
谢谢确保您引用的是
com.google.api.services.Calendar.Calendar
中定义的日历服务类,而不是com.google.api.services.Calendar.model
中定义的模型类