Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unable to add image to drawble folder in xamarin forms visual studio 2019

Screenshot of Solution Explorer

I am trying to add an image to drawable in xamarin forms app in visual studio 2019 I am getting an error as the system cannot find the path specified.

like image 440
gayatri Avatar asked Jun 02 '19 11:06

gayatri


2 Answers

Just had the same problem. Looks like the folder is there but in fact it isn't (Still a bug in visual studio for windows). Just delete the folder and add the folder yourself. Now you are able to add your image for your icon.

like image 128
Pieter Avatar answered Nov 16 '22 10:11

Pieter


If not already exists. Create a folder drawable in XAML.Android\Resources directory and try again. If already exists then delete it and recreate it. If all of above does not work then grant same permission to drawable folder which has XAML.Android\Resources folder.

like image 29
Bhaskar Singh Avatar answered Nov 16 '22 08:11

Bhaskar Singh