I recorded a video and obviously when I played it back on my camera there's sound, however as I imported it to after effects and tried to ram preview it, there was no sound.
This is the same for when I use the Adobe Media Encoder and I'm not sure how to fix it. I know it's not the video, perhaps a setting within After Effects that I need to change?
Without more information, we cannot begin to help you.
What format and codec is your footage? How are you trying to create the RAM preview?
What version of After Effects?
What did you do in Adobe Media Encoder?
We need the answers to that and a whole lot more.