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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -