Checking compressor

To fix this, you will need a refrigeration certificate and expensive equipment.
I fixed a few of these, usually I just cut the capillary line with a file, cleaned the bore with a needle, then used high pressure to force oil and contaminents out of the line.
I have never seen one with a clogged dryer, unless the compressor was failing and dumping out burnout contaminents.
I had one that I fixed by heating the capillary with a propane torch while the compressor was running. The compressor high pressure cleaned it all out and dumped it in the evaporator.
Worth a try, but in that case, it was rosin clogging the capillary. You must be careful and wear safety glasses in case you unsolder a joint.