Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans.
In a large mixing bowl, combine the flour, sugar, baking powder, baking soda, and salt. Mix well.
In another bowl, whisk together the pineapple juice, vegetable oil, eggs, and vanilla extract until well combined.
Gradually add the wet ingredients to the dry ingredients, mixing with an electric mixer on medium speed until just combined. Do not overmix.
Gently fold in the crushed pineapple with a spatula until evenly distributed.
Divide the batter equally between the two prepared cake pans.
Bake in the preheated oven for 25-30 minutes or until a toothpick inserted into the center of the cakes comes out clean.
Once baked, remove the cakes from the oven and let them cool in the pans for 10 minutes. Then, transfer them to a cooling rack to cool completely.
For the frosting, beat together the softened cream cheese and butter in a mixing bowl until smooth.
Gradually add the powdered sugar and vanilla extract, mixing until creamy.
Once the cakes are completely cooled, place one cake layer on a serving plate and spread a layer of frosting on top. Place the second cake layer on top and frost the top and sides of the cake.
Slice and serve your delicious Pineapple Juice Cake!