java - Android resources error -


i used getresources() call read raw text file , i'm getting error. if don't call getresources() don't seem error @ all.

vfy: unable resolve virtual method 387: landroid/content/res/resources;.getdrawable (ilandroid/content/res/resources$theme;)landroid/graphics/drawable/drawable; 

this code:

resources res = getresources(); inputstream in_s = res.openrawresource(r.raw.gg); 

what problem?


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -