I'm replacing my double kitchen sink and replacing an S trap with a P trap. There is no vent nearby that I can tie into easily, so I'm going with an under sink AAV. Issue is, I don't have much space between the current s trap and where the drain ties into (through the floor):
Here are some ideas I had to fit a P trap and AAV on here:
I ran out of parts, but my idea is to use 90 degree elbows to circle back to the drain in the floor, and use another 90 pointed down or a j bend to get it into the drain.
Would that solution work without the risk of code violations?
Or would this configuration work better?
Thank you for the advice!