Wrote /root/JavaX-Caches/tmp_1756405561/main.java - 6948 bytes (written=6948, should be 6948) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 1.8 -target 1.8 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar:/root/.tinybrain/snippet-cache/data_1009385.jar:/root/.tinybrain/snippet-cache/data_1009386.jar -d /root/JavaX-Caches/tmp_785862123 /root/JavaX-Caches/tmp_1756405561/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_1756405561/main.java:26: error: package com.google.api.client.googleapis.json does not exist import com.google.api.client.googleapis.json.GoogleJsonResponseException; ^ /root/JavaX-Caches/tmp_1756405561/main.java:27: error: package com.google.api.services.samples.youtube.cmdline does not exist import com.google.api.services.samples.youtube.cmdline.Auth; ^ /root/JavaX-Caches/tmp_1756405561/main.java:28: error: package com.google.api.services.youtube does not exist import com.google.api.services.youtube.YouTube; ^ /root/JavaX-Caches/tmp_1756405561/main.java:29: error: package com.google.api.services.youtube.model does not exist import com.google.api.services.youtube.model.Channel; ^ /root/JavaX-Caches/tmp_1756405561/main.java:30: error: package com.google.api.services.youtube.model does not exist import com.google.api.services.youtube.model.ChannelListResponse; ^ /root/JavaX-Caches/tmp_1756405561/main.java:31: error: package com.google.api.services.youtube.model does not exist import com.google.api.services.youtube.model.PlaylistItem; ^ /root/JavaX-Caches/tmp_1756405561/main.java:32: error: package com.google.api.services.youtube.model does not exist import com.google.api.services.youtube.model.PlaylistItemListResponse; ^ /root/JavaX-Caches/tmp_1756405561/main.java:33: error: package com.google.common.collect does not exist import com.google.common.collect.Lists; ^ /root/JavaX-Caches/tmp_1756405561/main.java:51: error: cannot find symbol private static YouTube youtube; ^ symbol: class YouTube location: class main /root/JavaX-Caches/tmp_1756405561/main.java:144: error: cannot find symbol private static void prettyPrint(int size, Iterator<PlaylistItem> playlistEntries) { ^ symbol: class PlaylistItem location: class main /root/JavaX-Caches/tmp_1756405561/main.java:65: error: cannot find symbol List<String> scopes = Lists.newArrayList("https://www.googleapis.com/auth/youtube.readonly"); ^ symbol: variable Lists location: class main /root/JavaX-Caches/tmp_1756405561/main.java:69: error: cannot find symbol Credential credential = Auth.authorize(scopes, "myuploads"); ^ symbol: variable Auth location: class main /root/JavaX-Caches/tmp_1756405561/main.java:72: error: package YouTube does not exist youtube = new YouTube.Builder(Auth.HTTP_TRANSPORT, Auth.JSON_FACTORY, credential).setApplicationName( ^ /root/JavaX-Caches/tmp_1756405561/main.java:72: error: cannot find symbol youtube = new YouTube.Builder(Auth.HTTP_TRANSPORT, Auth.JSON_FACTORY, credential).setApplicationName( ^ symbol: variable Auth location: class main /root/JavaX-Caches/tmp_1756405561/main.java:72: error: cannot find symbol youtube = new YouTube.Builder(Auth.HTTP_TRANSPORT, Auth.JSON_FACTORY, credential).setApplicationName( ^ symbol: variable Auth location: class main /root/JavaX-Caches/tmp_1756405561/main.java:81: error: package YouTube.Channels does not exist YouTube.Channels.List channelRequest = youtube.channels().list("contentDetails"); ^ /root/JavaX-Caches/tmp_1756405561/main.java:84: error: cannot find symbol ChannelListResponse channelResult = channelRequest.execute(); ^ symbol: class ChannelListResponse location: class main /root/JavaX-Caches/tmp_1756405561/main.java:86: error: cannot find symbol List<Channel> channelsList = channelResult.getItems(); ^ symbol: class Channel location: class main /root/JavaX-Caches/tmp_1756405561/main.java:96: error: cannot find symbol List<PlaylistItem> playlistItemList = new ArrayList<PlaylistItem>(); ^ symbol: class PlaylistItem location: class main /root/JavaX-Caches/tmp_1756405561/main.java:96: error: cannot find symbol List<PlaylistItem> playlistItemList = new ArrayList<PlaylistItem>(); ^ symbol: class PlaylistItem location: class main /root/JavaX-Caches/tmp_1756405561/main.java:99: error: package YouTube.PlaylistItems does not exist YouTube.PlaylistItems.List playlistItemRequest = ^ /root/JavaX-Caches/tmp_1756405561/main.java:116: error: cannot find symbol PlaylistItemListResponse playlistItemResult = playlistItemRequest.execute(); ^ symbol: class PlaylistItemListResponse location: class main /root/JavaX-Caches/tmp_1756405561/main.java:127: error: cannot find symbol } catch (GoogleJsonResponseException e) { ^ symbol: class GoogleJsonResponseException location: class main /root/JavaX-Caches/tmp_1756405561/main.java:150: error: cannot find symbol PlaylistItem playlistItem = playlistEntries.next(); ^ symbol: class PlaylistItem location: class main 24 errors