LambergaR LambergaR - 4 months ago 37
Android Question

Magic behind file

Recently I have been having quite some problems with file. Now I have decided to do a backup and delete the file to see what happens.

Nothing happened, so I created an empty file and hoped for the best. Now Eclipse seems to figure out that the file was tampered with and even issues a warning: was modified manually! Reverting to generated version!

And that's all there is. I tried building it manually but got no results.

So, I have two questions:

  1. what should I do to force Eclipse to regenerate the file

  2. what is happening here? How is the file created, where is the code that is generating the file?

I would appreciate any help. As usual the problem occurred just a few days before the deadline :)


I found the problem - I have created a 9patch image with the patch area defined only on the Y axis (I was trying to prevent resizing on the other one).

The question remains: Why isn't there a warning about the error? Or if there is - where is it buried?