Quantcast
Viewing latest article 2
Browse Latest Browse All 4

Non-class resources from jar libraries are not included in final apk

Recently I found that non-java resources (e.g. images, properties, xml configurations) from included jar libraries are not copied to the final apk during Unity Android build. As a result as soon as we try to load them from java side - application crashes with `I/WindowState﹕ WIN DEATH: Window..`. exception. During native Android SDK development we had similar issue but it was easily solved by additional gradle configuration. In case of Unity I didn't find a easy way to modify apk build process. Issue is described in detail (with demo) on [my blog][1] Any ideas how solve this problem? [1]: http://v.zasadnyy.com/blog/unity-issue-non-class-resources-are-not-copied-to-final-apk/

Viewing latest article 2
Browse Latest Browse All 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>