Register Locator Deprecated

I am having an issue trying to locate a zip file with the asset manager since the registerlocator has been deprecated.

@Deprecated

public void registerLocator(String rootPath, String locatorClassName);



I previously used the following code to register the zip file.



[java]assetManager.registerLocator(pathToUserAppDataLib + "realViewAssets.zip", ZipLocator.class.getName());[/java]



Could someone help me with the new format to load this zip file?

remove the getName()

1 Like

Thank you Normen.