The AudioAppComponent class is part of the juce_audio_utils module which isn’t added to your project by default so you need to add it manually in the Projucer. Right click on Config->Modules then select the juce_audio_utils module from the “Add a module” menu.
Ed