Issue
I am suddenly unable to drag images into res/drawables, it shows a redbox/outline preventing me from doing so. Has anyone else encountered this before? I was able to add images via dragging with no problem earlier in the day!
Android studio 3.1.1 build #AI-173.4697961, 4/3/18 on macOS High Sierra
here is an example with a new android project
Solution
Follow below Step:
If You want to paste a image in Folder then see below Step:
- Go in your machine where you save your project
- Open your Project Folder
- Now select a folder app > src > main > res >
- Now you can see hear 7 Drawable Folder
- In some folder you can paste your Image
- Folder Name : drawable-hdpi , drawable-mdpi , drawable-xhdpi , drawable-xxhdpi , drawable-xxxhdpi .
- Paste Your Folder in above Folder
If you want to copy and paste a Image in android Studio Drawble Folder then U just see Right corner on Android Studio
Change app to Project see below image for batter understanding:
Now Go to the down and see the all drawable Folder and paste your image one by one See below image :
If You want to paste image using other Technic then follow link How to add an image to the "drawable" folder in Android Studio?
Answered By - Ali
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.