The problem sounds like the gas valve solenoid coils has gone out. Remove the front panel to access and have a view of the burner assembly then start the dryer to check whether the igniter glows red hot or not. The solenoid coils are indeed not working and need to be replaced if the igniter glows red hot but no gas is ignited.
Disconnect power to the dryer then pull the lint filter out and remove the screws near the opening.
Insert a putty knife or similar tool between the top panel and the front panel to release the clips securing the former to the latter on both sides as shown then rotate top panel up to the rear of the dryer.
Remove the front panel screws then lift the panel up and swing it to the side. Do not disconnect door switch since you are going to start the dryer.
You now have access and view of the burner assembly. Plug the dryer in then start it. Unplug the dryer and disconnect the flame/radiant sensor if the igniter glows red hot then plug the dryer back in and restart it. Replace the flame/radiant sensor if the dryer heats up with the sensor disconnected.
Replace the solenoid coils if the dryer still does not heat up if the igniter glows red hot and the flame/radiant sensor disconnected. Disconnect the wires from the coils and remove the screws from the bracket then pull the coils out. Slide the new coils in then secure it with the bracket and reconnect the wire harnesses.
In case the igniter does not glow, remove the back panel and bypass the thermal cut-off and the high-limit thermostat. Disconnect the wires shown then jump a wire between them and the two are bypassed.
Start the dryer then check again whether the igniter now glows or not. The igniter is broken, probably due to the shaking, and needs to be replaced if it fails glow now that the thermal cut-off and the high-limit thermostat are bypassed. The igniter is very fragile and easily breaks. Extra care must be done when handling it to about breakage.
Either the thermal cut-off or the high-limit thermostat has failed if the igniter glows with the two bypassed and the dryer heats up. Most likely it is the thermal cut-off but in either case, both of them must be replaced. Simply unscrew them from the box then install and secure the new ones. But if the dryer still does not heat up even with the flame/radiant sensor disconnected, the solenoid coils also need to be replaced.
Feel free to update us about the troubleshooting and repair. This is a pro bono service and rating the advice/solution should you find it helpful as a gratitude will do and much appreciated. Do not hesitate to ask further questions should you need clarification if something is unclear or not applicable before giving an adverse rating.
Disclaimer: This advice is intended solely for the asker droot559 and tailored specifically for his/her problem. It may not be applicable to other dryers and may fail to address heating problem. Post your own problem and include the make and exact model number of your dryer for the specific advice on how to address your problem.