# How to add a PDF file in appendix in Lyx?

I'm writing a thesys Using LyX, it worked fine up to now. I need to insert a PDF of 4 pages in Appendix, so I looked for a solution. Here in StackOverflow I found a possible solution, using a pdfpages package and a command to add the file. Unfortunately this solution doesn't work, lyx reports the following error: `!pdfTeX error: pdflatex (file test.pdf): cannot find image file`

I package is correctly declared in preample, file test.pdf is in the same folder of my thesys files. I tried to substitute the file with a 1 page PDF, and change `\includepdf{test.pdf}` with `\includepdf{test}` and `\includepdf{./test.pdf}`. The resulting error is always the same :-(

Is there a solution? Is it really possible importing a PDF in LyX? Thanks in advance