Problem with removing files in designer

Dirk A

Member
Licensed User
Longtime User
Hi ,
I made a layout that originally used 3 image files 1.png , 2.png , 3.png
But now I have altered the layout and i have removed the 3 image files and I have replaced them with files 4.png , 5.png , 6.png .
The problem is that when I load the layout in my activity_create I still get java filenotfound exceptions about the 1,2,3 files ...
How do I fix this ?

thank you
 

Dirk A

Member
Licensed User
Longtime User
I've used the "clean project" but it doesn't help. In my files tab I can only see my layout files , not the images that are used in the layout.
When I open my layout file in notepad I still find references to these 3 files , I don't get it...
 
Upvote 0

Dirk A

Member
Licensed User
Longtime User
Klaus ,
that's the problem , I don't see these files in the image files list.
Only 4.png , 5.png and 6.png are in the list but at runtime the compiler throws exceptions that files 1,2,3 can't be found.
 
Upvote 0

Dirk A

Member
Licensed User
Longtime User
in the zip in the attachment is the layoutfile with the 3 images I'm using
 
Last edited:
Upvote 0

Dirk A

Member
Licensed User
Longtime User
Oh crap , I only checked the "enabled drawable" image section.
But it would be a little more logical if the references to images would disappear when that image is deleted ,no ? Anyway ,my mistake ! thanks for the help
 
Upvote 0
Top