0

i want to implement you tube search API in android, i refereed https://developers.google.com/youtube/v3/code_samples/java#search_by_keyword but issue is :

    private static YouTube youtube;
    youtube = new YouTube.Builder(HTTP_TRANSPORT, JSON_FACTORY,
                        new HttpRequestInitializer() {
                            public void initialize(HttpRequest request)
                                    throws IOException {
                            }
                        }).setApplicationName("SearchApi")
                        .build();

i have an error for above code. which type of library required for this. i used now com.google.api.services.youtube.YouTube; library.

4

1 回答 1

0

你得到什么错误?写的正是。

您可以在此链接中找到所需的库

于 2013-09-19T14:16:49.637 回答