I'm trying to find fundamental solution of Laplace equation, a.k.a. function $\Phi:\mathbb{R}^n\to\mathbb{R}$ (or, more properly, a distribution on $\mathbb{R}^n$) such that $-\Delta\Phi=\delta_0$ in the sense of distribution. (I'm doing this as part of preparation for my final exams next week, but I didn't manage to find any material that explained what I need to do properly.) What I tried to do was to simply to take a Fourier transform. Then I get $$1=\hat{\delta_0}=\widehat{-\Delta\Phi}=\sum x_i^2\hat{\Phi},$$ or $\hat{\Phi}(x)=\frac1{|x|^2}$. Than from the inverse Fourier transformation I get $$\Phi(x)=\int_{\mathbb{R}^n}\hat{\Phi}(t)e^{i t\cdot x}\,\mathrm{d}t=\int_{\mathbb{R}^n}\frac{e^{i t\cdot x}}{|t|^2}\,\mathrm{d}t.$$ But the last integral doesn't converge. And even if it did (which I'm fairly certain is not the case), I'd have no idea how to transform it into "reasonable" form.
I'm aware that the answer I'm looking for is $\Phi(x)=C_n|x|^{2-n}$ for $n\ne2$ and $\Phi(x)=C_2\ln|x|$ for $n=2$. And I did find other ways to prove that. My problem is, that I don't understand where is the problem in this approach - and that probably means there is some fundamental detail that I just don't understand properly. Maybe it's the proper definiton of fundamental solution, maybe some operation is not allowed, maybe it's actually all correct and I just don't understand that it is actually correct. I don't know. Please, help me find what it is.