java - How to load assets with asset manager on Android? -
i'm trying load skin asset manager:
public assets() { manager = new assetmanager(); manager.load("bin/fonts/loading.json", skin.class); manager.finishloading(); loadingskin = manager.get("bin/fonts/loading.json", skin.class); }
this works on desktop, on android asset manager can't load json, , throws exception.
set working directory assets directory in android run configuration.
Comments
Post a Comment