.insert(ApplicationConfig.PACKAGE_NAME,
null /** no content */);
AppEdit appEdit = editRequest.execute();
// Get a list of apks.
ApksListResponse apksResponse = edits
.apks()
.list(ApplicationConfig.PACKAGE_NAME,
appEdit.getId()).execute();
// Print the apk info.
for (Apk apk : apksResponse.getApks()) {
System.out.println(
String.format("Version: %d - Binary sha1: %s", apk.getVersionCode(),
apk.getBinary().getSha1()));
}
} catch (IOException | GeneralSecurityException ex) {