Having trouble importing “google.api.services.samples.youtube.cmdline.Auth;”?

只愿长相守 提交于 2019-11-30 17:25:24

These two defines can be found in the youtube example: Auth.java file from example

Are you can just replace the Builder string as follows:

new YouTube.Builder(new NetHttpTransport(), new JacksonFactory(), new HttpRequestInitializer() 

This will do the trick, same as finding the defines.

Hopes this helps, BR, Adrian.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!