Errors in the aeroapps example (Please help!)

I’m trying to use aero API for my project and copied the app class, but I can’t get rid of these errors.

Hello,

Thank you for contacting FlightAware.

If you are experiencing programming or advanced technical issues with AeroAPI (formerly known as FlightXML) please refer to our AeroAPI Discussion Board. Our developers monitor the board daily and will be able to assist you. Please provide a code snippet so the developers can understand the issue better. Please do not post your username nor API key on the board since it is a public forum.

Best Regards,

Jocelyn Vazquez- Support Specialist

Toll Free: +1.800.713.8570
Support Line:+1.713.877.9010

Eleven Greenway Plaza, Suite 2900 - Houston, Texas - 70046

Learn about FlightAware Global and Premium Accounts: http://flightaware.com/commercial/

It looks like the the okhttp imports aren’t occurring when trying to build the okhttp request object, then everything that follows tries to use spark’s request instead.

Can you please make sure that the import statements haven’t been changed or re-ordered from the original example? That should resolve the “Builder” error you are seeing, if that works then the rest of the changes should be safe to revert.