final int j = i;
threads[i] = new Thread() {
public void run() {
try {
AssetURI assetURI = new AssetURI(urls[j]);
Asset asset = assetManager.getAsset(assetURI, AssetType.FILE);
assertTrue(assetManager.waitForAsset(asset));
assertNull(asset.getFailureInfo());
assertNotNull(asset.getLocalCacheFile());
System.out.println("Done with: " + assetURI.toString());
} catch (java.net.URISyntaxException excp) {
System.out.println(excp.toString());
}
}