For Android development, from beginner to beginner.
Tuesday, March 15, 2016
Android Studio error: Expected resource of type raw
In my exercise of
setting wallpaper using resource inside APK
, I tried to load resource from /res/drawable/ folder. But reported with error of "Expected resource of type raw".
My solution is to create /res/raw/ folder and move the resources to it. And load with R.raw....
This video show how:
Share to Twitter
Share to Facebook
Share to Pinterest
Android Studio.how to
Post a Comment
Post Comments (Atom)