you might have to change which upload method is used, thats found under Tools/programmer menu.
I dont have a apm 2.8 around anymore but am sure it used it's own bootloader (non arduino) so you may have to either burn a bootloader or use external programmer (e.g another arduino device as the avrdude programmer)
darkspr1te