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....
No comments:
Post a Comment